From 10817aa33790dd4106df97d8a0dea729ed3d3257 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 6 Sep 2017 14:29:09 +0200 Subject: Add types for web3/lib/solidity/coder.js --- src/globals.d.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/globals.d.ts') 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[]; +} -- cgit v1.2.3