Expand Contract sub-class to accept BaseContract super-class constructor arguments (#4538).
This commit is contained in:
parent
b6bf7aba62
commit
98496bc48e
@ -1110,7 +1110,7 @@ export class BaseContract implements Addressable, EventEmitterable<ContractEvent
|
||||
}
|
||||
}
|
||||
|
||||
function _ContractBase(): new (target: string, abi: Interface | InterfaceAbi, runner?: null | ContractRunner) => BaseContract & Omit<ContractInterface, keyof BaseContract> {
|
||||
function _ContractBase(): new (target: string | Addressable, abi: Interface | InterfaceAbi, runner?: null | ContractRunner) => BaseContract & Omit<ContractInterface, keyof BaseContract> {
|
||||
return BaseContract as any;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user