Remove redundant js prefix

This commit is contained in:
Leonid Logvinov
2017-09-06 15:11:08 +02:00
parent 9ae56485a9
commit f1ed572819
2 changed files with 2 additions and 2 deletions

2
src/globals.d.ts vendored
View File

@@ -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[];
}

View File

@@ -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[] = [];