Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add TypeScript binding to allow instantiating BigNumber without the `new` keyword
  • Loading branch information
jbrower2 committed Dec 5, 2021
1 parent ae9ceca commit c0069c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bignumber.d.ts
Expand Up @@ -1827,3 +1827,5 @@ export declare class BigNumber implements BigNumber.Instance {
*/
static set(object: BigNumber.Config): BigNumber.Config;
}

export function BigNumber(n: BigNumber.Value, base?: number): BigNumber;

0 comments on commit c0069c0

Please sign in to comment.