aboutsummaryrefslogtreecommitdiffstats
path: root/src/globals.d.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-06 20:29:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-06 20:29:09 +0800
commit10817aa33790dd4106df97d8a0dea729ed3d3257 (patch)
tree9fed6df2ee443915ca2fcf3f6524c88edb739842 /src/globals.d.ts
parent542aae6cd9347e5f680266642861eb4c0bb57692 (diff)
downloaddexon-0x-contracts-10817aa33790dd4106df97d8a0dea729ed3d3257.tar.gz
dexon-0x-contracts-10817aa33790dd4106df97d8a0dea729ed3d3257.tar.zst
dexon-0x-contracts-10817aa33790dd4106df97d8a0dea729ed3d3257.zip
Add types for web3/lib/solidity/coder.js
Diffstat (limited to 'src/globals.d.ts')
-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[];
+}