ReplaceIEventThisPlaceHolder TypeAlias
Does the type replacement by changing types of IEventThisPlaceHolder to TThis
Signature
export type ReplaceIEventThisPlaceHolder<L extends any[], TThis> = L extends any[] ? {
[K in keyof L]: L[K] extends IEventThisPlaceHolder ? TThis : L[K];
} : L;
Type Parameters
Parameter | Constraint | Description |
---|---|---|
L | any[] | |
TThis |