From ce78ff9c83f5afee0d401ec76ad7b077d0e12f0a Mon Sep 17 00:00:00 2001 From: Nokecy Date: Wed, 3 Jan 2018 04:28:54 +0800 Subject: [PATCH] update number() method Parameter Type (#22527) --- types/mathjs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; /**