mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Optional base parameter in the big-integer module
This commit is contained in:
Vendored
+2
-2
@@ -214,7 +214,7 @@ interface BigIntegerStatic {
|
||||
/** Parse a Javascript number into a bigInt */
|
||||
( number: number ): BigInteger;
|
||||
/** Parse a string into a bigInt */
|
||||
( string: string ): BigInteger;
|
||||
( string: string, base?: string | number | BigInteger): BigInteger;
|
||||
/** no-op */
|
||||
( bigInt: BigInteger ): BigInteger;
|
||||
}
|
||||
@@ -223,4 +223,4 @@ declare var bigInt: BigIntegerStatic;
|
||||
|
||||
declare module "big-integer" {
|
||||
export = bigInt;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user