aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/globals.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts
index 2120bd45d..f8d3b20c2 100644
--- a/src/globals.d.ts
+++ b/src/globals.d.ts
@@ -89,3 +89,7 @@ declare module 'abi-decoder' {
const addABI: (abi: Web3.AbiDefinition) => void;
const decodeLogs: (logs: Web3.LogEntry[]) => DecodedLog[];
}
+
+declare module 'web3/lib/solidity/coder.js' {
+ const decodeParams: (types: string[], data: string) => any[];
+}