aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2017-11-11 23:13:40 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:37 +0800
commit6912a67ebaac3b96cfbdcbb8c6c4ecec569e1491 (patch)
treeb1a8ec3f5b31e76baf704e3d1bb35b38613b14cf
parent6abc83de83e9cfcb712eaa132ee08aa776e6ae3c (diff)
downloaddexon-sol-tools-6912a67ebaac3b96cfbdcbb8c6c4ecec569e1491.tar.gz
dexon-sol-tools-6912a67ebaac3b96cfbdcbb8c6c4ecec569e1491.tar.zst
dexon-sol-tools-6912a67ebaac3b96cfbdcbb8c6c4ecec569e1491.zip
Add new to contract interface
-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 5db14b65e..93e097ed3 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -103,6 +103,7 @@ declare module 'web3' {
interface Contract<A extends ContractInstance> {
at(address: string): A;
+ new(...args: any[]): A;
}
interface FilterObject {