diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-11 21:25:49 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-11 21:25:49 +0800 |
commit | 571b3c4da8f50615efe0f4af7fca393d66e39e8f (patch) | |
tree | 0b7e8700a52a0556da9da34321bb57dd851949d3 | |
parent | 1f5dfd71d514975cf7c26c693d0a4188bda5f12c (diff) | |
download | dexon-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.ts | 1 |
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; } |