Skip to main content

TypedEventTransform TypeAlias

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

export type TypedEventTransform<TThis, TEvent> = TransformedEvent<TThis, "newListener" | "removeListener", Parameters<(event: string, listener: (...args: any[]) => void) => void>> & IEventTransformer<TThis, TEvent & IEvent> & TransformedEvent<TThis, EventEmitterEventType, any[]>;

Type Parameters

Parameter Description
TThis
TEvent