mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #26468 from ArGGu/master
[@types/mathjs] Add Fraction as parameter type for number() method.
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user