Add types for getData on a web3 contract

This commit is contained in:
Leonid Logvinov
2018-01-11 14:25:49 +01:00
parent 1f5dfd71d5
commit 571b3c4da8

View File

@@ -107,6 +107,7 @@ declare module 'web3' {
interface Contract<A extends ContractInstance> {
at(address: string): A;
getData(...args: any[]): string;
'new'(...args: any[]): A;
}