diff options
-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" + } } |