diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-24 23:17:58 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:32 +0800 |
commit | a7f1137db856aeb9a0d68275088d6141f15d03b0 (patch) | |
tree | 13bd8bf89ad2350e2ba36b219022cb41e356cc65 | |
parent | f86159e7172e5099b97072cb5b73f5c004a86778 (diff) | |
download | dexon-sol-tools-a7f1137db856aeb9a0d68275088d6141f15d03b0.tar dexon-sol-tools-a7f1137db856aeb9a0d68275088d6141f15d03b0.tar.gz dexon-sol-tools-a7f1137db856aeb9a0d68275088d6141f15d03b0.tar.bz2 dexon-sol-tools-a7f1137db856aeb9a0d68275088d6141f15d03b0.tar.lz dexon-sol-tools-a7f1137db856aeb9a0d68275088d6141f15d03b0.tar.xz dexon-sol-tools-a7f1137db856aeb9a0d68275088d6141f15d03b0.tar.zst dexon-sol-tools-a7f1137db856aeb9a0d68275088d6141f15d03b0.zip |
Add bigNumber dependency
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 2 | ||||
-rw-r--r-- | packages/web3-typescript-typings/package.json | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 52bbfd8eb..ccc2c2919 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -1,5 +1,7 @@ declare module 'web3' { + import * as BigNumber from 'bignumber.js'; + class Web3 { public static providers: typeof providers; diff --git a/packages/web3-typescript-typings/package.json b/packages/web3-typescript-typings/package.json index 67d077d91..c55d15bc5 100644 --- a/packages/web3-typescript-typings/package.json +++ b/packages/web3-typescript-typings/package.json @@ -12,5 +12,11 @@ "bugs": { "url": "https://github.com/0xProject/web3-typescript-typings/issues" }, - "homepage": "https://github.com/0xProject/web3-typescript-typings#readme" + "homepage": "https://github.com/0xProject/web3-typescript-typings#readme", + "devDependencies": { + "@types/bignumber.js": "^4.0.2" + }, + "dependencies": { + "bignumber.js": "^4.0.2" + } } |