Add bigint to allowed BigNumberish types (#1472).

This commit is contained in:
Richard Moore 2021-04-22 22:34:06 -04:00
parent 65196097f6
commit cadccc3060
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

@ -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) && (