From 99cc9590bd4ea0f8baad60b660056ab8b56eba65 Mon Sep 17 00:00:00 2001 From: Micah Zoltu Date: Wed, 6 Nov 2019 19:25:34 +0800 Subject: [PATCH] Makes `Contract.at(...)` return a `Promise` instead of `T`. At least in Truffle 5.0.x, this function returns a promise. --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index eae5e74..5014462 100644 --- a/index.d.ts +++ b/index.d.ts @@ -66,7 +66,7 @@ declare namespace Truffle { interface Contract extends ContractNew { deployed(): Promise; - at(address: string): T; + at(address: string): Promise; address: string; contractName: string; }