diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-15 22:46:27 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:33 +0800 |
commit | ef76c4c62ba997579c44fac22e3c7153a55024df (patch) | |
tree | 7b8ce8ee85a2bb1c749fae0a162d30a1a2a11f6b /packages | |
parent | 210e7c5579aebba354e0cd397f45c4fc37d0ce7e (diff) | |
download | dexon-0x-contracts-ef76c4c62ba997579c44fac22e3c7153a55024df.tar dexon-0x-contracts-ef76c4c62ba997579c44fac22e3c7153a55024df.tar.gz dexon-0x-contracts-ef76c4c62ba997579c44fac22e3c7153a55024df.tar.bz2 dexon-0x-contracts-ef76c4c62ba997579c44fac22e3c7153a55024df.tar.lz dexon-0x-contracts-ef76c4c62ba997579c44fac22e3c7153a55024df.tar.xz dexon-0x-contracts-ef76c4c62ba997579c44fac22e3c7153a55024df.tar.zst dexon-0x-contracts-ef76c4c62ba997579c44fac22e3c7153a55024df.zip |
Make currentProvider a variable, not a function
Diffstat (limited to 'packages')
-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; |