Commit Graph

18 Commits

Author SHA1 Message Date
Yoyo Zhou
f87445077b big.js: add aliases .add, .mul, .sub (#24708) 2018-04-04 06:58:01 -07:00
Maurus Cuelenaere
f2667f0862 Add a default export to big.js (#23769)
* Add a default export to big.js

As can be seen on https://github.com/MikeMcl/big.js/blob/master/big.js#L925, big.js exposes a default export.
Expose this in the Typescript bindings as well.

* Add default import test for big.js

* Fix lint errors
2018-02-22 12:35:20 -05:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Andy
37685e11dd Add tslint disables for no-const-enum (#23134) 2018-01-23 18:19:36 +00:00
Siyuan Zhang
93113f80a0 added big.js properties declaration according to http://mikemcl.github.io/big.js/\#coefficient (#22508) 2018-01-02 12:39:42 -08:00
Andy
30957ad3d8
Remove // tslint:disable comments (#22198) 2017-12-14 13:24:24 -08:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Miika Hänninen
dbeac07ba4 Update big.js definitions for version 4.0.0 (#20096) 2017-09-28 08:41:32 +01:00
Miika Hänninen
46ac6f8485
Add separate tests for the global exports 2017-09-25 09:44:40 +03:00
Miika Hänninen
f8be1136f2
Enable strict null checking 2017-09-25 09:44:35 +03:00
Miika Hänninen
f83ae7c7ca
Add global definition block 2017-09-25 09:44:29 +03:00
Miika Hänninen
5571cb5cb7
Add linting 2017-09-25 09:44:22 +03:00
Miika Hänninen
8cbb73d9ec
Change tests to reflect the new typings 2017-09-25 09:44:19 +03:00
Miika Hänninen
0d330d96e8
Type the named export Big of big.js 2017-09-25 09:44:13 +03:00
Miika Hänninen
fa2e4f11ae
Remove global big.js declaration 2017-09-25 09:43:46 +03:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00