From 2714b692ee182d347a324bfb495803079cedd1c4 Mon Sep 17 00:00:00 2001 From: danilo neves cruz Date: Thu, 9 Mar 2023 18:55:20 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20ethers-v6:=20fix=20contract=20co?= =?UTF-8?q?nnect=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/target-ethers-v6/src/codegen/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/target-ethers-v6/src/codegen/index.ts b/packages/target-ethers-v6/src/codegen/index.ts index 3d1917abc..4644f73e4 100644 --- a/packages/target-ethers-v6/src/codegen/index.ts +++ b/packages/target-ethers-v6/src/codegen/index.ts @@ -66,7 +66,7 @@ export function codegenContractTypings(contract: Contract, codegenConfig: Codege export interface ${contract.name} extends BaseContract { ${codegenConfig.discriminateTypes ? `contractName: '${contract.name}';\n` : ``} - connect(runner?: ContractRunner | null): BaseContract; + connect(runner?: ContractRunner | null): this; attach(addressOrName: AddressLike): this; deployed(): Promise;