aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/web3-typescript-typings/index.d.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index 224fee13a..aeceb0ff1 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -57,7 +57,9 @@ declare module 'web3' {
type: string;
}
- interface Contract {}
+ interface Contract {
+ at(address: string): ContractInstance;
+ }
interface FilterObject {
fromBlock: number|string;
@@ -72,6 +74,8 @@ declare module 'web3' {
stopWatching(): void;
}
+ interface ContractInstance {}
+
interface Provider {}
}
/* tslint:disable */