diff options
-rw-r--r-- | src/globals.d.ts | 2 | ||||
-rw-r--r-- | src/utils/abi_decoder.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts index f8d3b20c2..467a756a4 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -90,6 +90,6 @@ declare module 'abi-decoder' { const decodeLogs: (logs: Web3.LogEntry[]) => DecodedLog[]; } -declare module 'web3/lib/solidity/coder.js' { +declare module 'web3/lib/solidity/coder' { const decodeParams: (types: string[], data: string) => any[]; } diff --git a/src/utils/abi_decoder.ts b/src/utils/abi_decoder.ts index 0600f86f2..a68a673b4 100644 --- a/src/utils/abi_decoder.ts +++ b/src/utils/abi_decoder.ts @@ -1,7 +1,7 @@ import * as Web3 from 'web3'; import * as _ from 'lodash'; import {AbiType, DecodedLogArgs, DecodedArgs} from '../types'; -import * as SolidityCoder from 'web3/lib/solidity/coder.js'; +import * as SolidityCoder from 'web3/lib/solidity/coder'; export class AbiDecoder { private savedABIs: Web3.AbiDefinition[] = []; |