Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Fixed BigNumber toBigInt return type (ethers-io#1485).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo authored and pull[bot] committed Jun 4, 2021
1 parent 6877281 commit 3a046d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bignumber/src.ts/bignumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class BigNumber implements Hexable {
return null;
}

toBigInt(): BigInt {
toBigInt(): bigint {
try {
return BigInt(this.toString());
} catch (e) { }
Expand Down

0 comments on commit 3a046d0

Please sign in to comment.