From a7f1137db856aeb9a0d68275088d6141f15d03b0 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 24 May 2017 17:17:58 +0200 Subject: Add bigNumber dependency --- packages/web3-typescript-typings/index.d.ts | 2 ++ packages/web3-typescript-typings/package.json | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'packages') 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" + } } -- cgit v1.2.3