Type alias InferEventName<TAbi, TEventName>
InferEventName<TAbi, TEventName>: TAbi extends Abi ? ExtractAbiEventNames<TAbi> extends infer AbiEventNames ? AbiEventNames | (TEventName extends AbiEventNames ? TEventName : never) : never : TEventName Type Parameters
TAbi extends Abi | readonly unknown[] = Abi
TEventName extends string | undefined = string