diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-10 20:59:37 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-10 20:59:37 +0800 |
commit | d3adb48c2eefb5754acb654994cab3f1b94a2e38 (patch) | |
tree | c96fa639cfff05a1ad384796b53d6415581fbcfc /packages/0x.js/src | |
parent | 9838124abcce9acc38f011a20d0e898dfc03e47d (diff) | |
download | dexon-0x-contracts-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar dexon-0x-contracts-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar.gz dexon-0x-contracts-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar.bz2 dexon-0x-contracts-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar.lz dexon-0x-contracts-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar.xz dexon-0x-contracts-d3adb48c2eefb5754acb654994cab3f1b94a2e38.tar.zst dexon-0x-contracts-d3adb48c2eefb5754acb654994cab3f1b94a2e38.zip |
Fix no-any-propagation
Diffstat (limited to 'packages/0x.js/src')
-rw-r--r-- | packages/0x.js/src/0x.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/src/0x.ts b/packages/0x.js/src/0x.ts index e670bd0c5..7850a782d 100644 --- a/packages/0x.js/src/0x.ts +++ b/packages/0x.js/src/0x.ts @@ -163,7 +163,7 @@ export class ZeroEx { */ public async getAvailableAddressesAsync(): Promise<string[]> { // Hack: Get Web3Wrapper from ZeroExContract - const web3Wrapper = (this._contractWrappers as any)._web3Wrapper; + const web3Wrapper: Web3Wrapper = (this._contractWrappers as any)._web3Wrapper; const availableAddresses = await web3Wrapper.getAvailableAddressesAsync(); return availableAddresses; } @@ -204,7 +204,7 @@ export class ZeroEx { timeoutMs?: number, ): Promise<TransactionReceiptWithDecodedLogs> { // Hack: Get Web3Wrapper from ZeroExContract - const web3Wrapper = (this._contractWrappers as any)._web3Wrapper; + const web3Wrapper: Web3Wrapper = (this._contractWrappers as any)._web3Wrapper; const transactionReceiptWithDecodedLogs = await web3Wrapper.awaitTransactionMinedAsync( txHash, pollingIntervalMs, |