aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-15 22:46:27 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:33 +0800
commitef76c4c62ba997579c44fac22e3c7153a55024df (patch)
tree7b8ce8ee85a2bb1c749fae0a162d30a1a2a11f6b /packages
parent210e7c5579aebba354e0cd397f45c4fc37d0ce7e (diff)
downloaddexon-sol-tools-ef76c4c62ba997579c44fac22e3c7153a55024df.tar
dexon-sol-tools-ef76c4c62ba997579c44fac22e3c7153a55024df.tar.gz
dexon-sol-tools-ef76c4c62ba997579c44fac22e3c7153a55024df.tar.bz2
dexon-sol-tools-ef76c4c62ba997579c44fac22e3c7153a55024df.tar.lz
dexon-sol-tools-ef76c4c62ba997579c44fac22e3c7153a55024df.tar.xz
dexon-sol-tools-ef76c4c62ba997579c44fac22e3c7153a55024df.tar.zst
dexon-sol-tools-ef76c4c62ba997579c44fac22e3c7153a55024df.zip
Make currentProvider a variable, not a function
Diffstat (limited to 'packages')
-rw-r--r--packages/web3-typescript-typings/index.d.ts2
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;