Skip to content

Commit

Permalink
#334 Config object optional
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcl committed Sep 24, 2022
1 parent d87c660 commit f20d7de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bignumber.d.ts
Expand Up @@ -1648,7 +1648,7 @@ export declare class BigNumber implements BigNumber.Instance {
*
* @param object The configuration object.
*/
static config(object: BigNumber.Config): BigNumber.Config;
static config(object?: BigNumber.Config): BigNumber.Config;

/**
* Returns `true` if `value` is a BigNumber instance, otherwise returns `false`.
Expand Down Expand Up @@ -1825,7 +1825,7 @@ export declare class BigNumber implements BigNumber.Instance {
*
* @param object The configuration object.
*/
static set(object: BigNumber.Config): BigNumber.Config;
static set(object?: BigNumber.Config): BigNumber.Config;
}

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

0 comments on commit f20d7de

Please sign in to comment.