diff --git a/types/mathjs/index.d.ts b/types/mathjs/index.d.ts index f5d669a028..962a0f79c9 100644 --- a/types/mathjs/index.d.ts +++ b/types/mathjs/index.d.ts @@ -532,7 +532,7 @@ declare namespace mathjs { /** * Create a number or convert a string, boolean, or unit to a number. When value is a matrix, all elements will be converted to number. */ - number(value?: string|number|boolean|MathArray|Matrix|Unit): number|MathArray|Matrix; + number(value?: string|number|boolean|MathArray|Matrix|Unit|BigNumber): number|MathArray|Matrix; number(unit: Unit, valuelessUnit: Unit|string): number|MathArray|Matrix; /**