Add bigint to BigNumberish in next minor version bump #1472
Labels
enhancement
New feature or improvement.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
minor-bump
Planned for the next minor version bump.
Right now the type definition is
export type BigNumberish = BigNumber | Bytes | string | number;
, but it seems BigInt's are supported anywhere BigNumber is supported, so perhaps this should beexport type BigNumberish = BigNumber | Bytes | string | number | bigint;
Currently trying to pass a BigInt when BigNumberish is expected gives
Argument of type 'bigint' is not assignable to parameter of type 'BigNumberish'. ts(2345)
Originally posted by @mds1 in #1471
The text was updated successfully, but these errors were encountered: