aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/web3-typescript-typings/index.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index bcb5dc575..8b8c99e28 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -32,8 +32,8 @@ declare module 'web3' {
public setProvider(provider: providers.Provider): void;
public currentProvider(): any;
- public fromWei(amount: BigNumber.BigNumber, unit: string): BigNumber.BigNumber;
- public toWei(amount: BigNumber.BigNumber, unit: string): BigNumber.BigNumber;
+ public fromWei(amount: number|BigNumber.BigNumber, unit: string): BigNumber.BigNumber;
+ public toWei(amount: number|BigNumber.BigNumber, unit: string): BigNumber.BigNumber;
public isAddress(address: string): boolean;
}