From f1ed572819475fca49b6a1ca939d2ec953aaa868 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 6 Sep 2017 15:11:08 +0200 Subject: Remove redundant js prefix --- src/globals.d.ts | 2 +- src/utils/abi_decoder.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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[] = []; -- cgit v1.2.3