diff options
Diffstat (limited to 'packages/web3-typescript-typings')
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index a225db753..224fee13a 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -31,7 +31,7 @@ declare module 'web3' { }; public setProvider(provider: Web3.Provider): void; - public currentProvider(): any; + public currentProvider: Web3.Provider; 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; |