Merge pull request #26468 from ArGGu/master

[@types/mathjs] Add Fraction as parameter type for number() method.
This commit is contained in:
Mine Starks
2018-06-13 08:42:18 -07:00
committed by GitHub
+1 -1
View File
@@ -543,7 +543,7 @@ declare namespace math { // tslint:disable-line strict-export-declare-modifiers
/**
* 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|BigNumber): number|MathArray|Matrix;
number(value?: string|number|boolean|MathArray|Matrix|Unit|BigNumber|Fraction): number|MathArray|Matrix;
number(unit: Unit, valuelessUnit: Unit|string): number|MathArray|Matrix;
/**