Skip to content

Commit

Permalink
Fixed BigNumber toBigInt return type (#1485).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Apr 20, 2021
1 parent c0daf43 commit c086962
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 c086962

Please sign in to comment.