@types/big.js
Advanced tools
Comparing version 4.0.5 to 6.0.0
@@ -1,5 +0,6 @@ | ||
// Type definitions for big.js 4.0 | ||
// Type definitions for big.js 6.0 | ||
// Project: https://github.com/MikeMcl/big.js/ | ||
// Definitions by: Steve Ognibene <https://github.com/nycdotnet> | ||
// Miika Hänninen <https://github.com/googol> | ||
// Roman Nuritdinov (Ky6uk) <https://github.com/Ky6uk> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -279,2 +280,10 @@ | ||
/** | ||
* Returns a primitive number representing the value of this Big number. | ||
* | ||
* If Big.strict is true an error will be thrown if toNumber is called on a Big number which cannot be converted to a primitive number without a loss of precision. | ||
* | ||
* @since 6.0 | ||
*/ | ||
toNumber(): number; | ||
/** | ||
* Returns a string representing the value of this Big number. | ||
@@ -281,0 +290,0 @@ * |
{ | ||
"name": "@types/big.js", | ||
"version": "4.0.5", | ||
"version": "6.0.0", | ||
"description": "TypeScript definitions for big.js", | ||
@@ -16,13 +16,20 @@ "license": "MIT", | ||
"githubUsername": "googol" | ||
}, | ||
{ | ||
"name": "Roman Nuritdinov (Ky6uk)", | ||
"url": "https://github.com/Ky6uk", | ||
"githubUsername": "Ky6uk" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/big.js" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "6782f22a7353c314a14d52ebf8144a8ca014fcb4991a0dd3d754cca26bea25bf", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "5fe4d3dbf67bb7c665f9e3b599fb6461093feef40817fe8c1ecc0331833bae1e", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/big.js | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/big.js. | ||
Additional Details | ||
* Last updated: Wed, 30 May 2018 01:28:45 GMT | ||
### Additional Details | ||
* Last updated: Fri, 09 Oct 2020 01:41:17 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Steve Ognibene <https://github.com/nycdotnet>, Miika Hänninen <https://github.com/googol>. | ||
These definitions were written by [Steve Ognibene](https://github.com/nycdotnet), [Miika Hänninen](https://github.com/googol), and [Roman Nuritdinov (Ky6uk)](https://github.com/Ky6uk). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17124
349