Add bigint to allowed BigNumberish types (#1472).
This commit is contained in:
parent
65196097f6
commit
cadccc3060
@ -22,7 +22,7 @@ const _constructorGuard = { };
|
||||
const MAX_SAFE = 0x1fffffffffffff;
|
||||
|
||||
|
||||
export type BigNumberish = BigNumber | Bytes | string | number;
|
||||
export type BigNumberish = BigNumber | Bytes | bigint | string | number;
|
||||
|
||||
export function isBigNumberish(value: any): value is BigNumberish {
|
||||
return (value != null) && (
|
||||
|
Loading…
Reference in New Issue
Block a user