From 571b3c4da8f50615efe0f4af7fca393d66e39e8f Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 11 Jan 2018 14:25:49 +0100 Subject: Add types for getData on a web3 contract --- packages/web3-typescript-typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) 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 { at(address: string): A; + getData(...args: any[]): string; 'new'(...args: any[]): A; } -- cgit