Skip to content

Commit

Permalink
馃悰 ethers-v6: fix contract connect type
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Mar 10, 2023
1 parent 23a5dad commit 2714b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/target-ethers-v6/src/codegen/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<this>;
Expand Down

0 comments on commit 2714b69

Please sign in to comment.