update number() method Parameter Type (#22527)

This commit is contained in:
Nokecy
2018-01-02 12:28:54 -08:00
committed by Mohamed Hegazy
parent a978295bd7
commit ce78ff9c83
+1 -1
View File
@@ -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;
/**