aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-11 21:25:49 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-11 21:25:49 +0800
commit571b3c4da8f50615efe0f4af7fca393d66e39e8f (patch)
tree0b7e8700a52a0556da9da34321bb57dd851949d3
parent1f5dfd71d514975cf7c26c693d0a4188bda5f12c (diff)
downloaddexon-0x-contracts-571b3c4da8f50615efe0f4af7fca393d66e39e8f.tar.gz
dexon-0x-contracts-571b3c4da8f50615efe0f4af7fca393d66e39e8f.tar.zst
dexon-0x-contracts-571b3c4da8f50615efe0f4af7fca393d66e39e8f.zip
Add types for getData on a web3 contract
-rw-r--r--packages/web3-typescript-typings/index.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index 6fd126d2a..b4fc146b3 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -107,6 +107,7 @@ declare module 'web3' {
interface Contract<A extends ContractInstance> {
at(address: string): A;
+ getData(...args: any[]): string;
'new'(...args: any[]): A;
}