From ef76c4c62ba997579c44fac22e3c7153a55024df Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 15 Jun 2017 16:46:27 +0200 Subject: Make currentProvider a variable, not a function --- packages/web3-typescript-typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/web3-typescript-typings') 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; -- cgit