Home > @rainway/native > EventHandler
EventHandler type
Helper to constrain event handlers
Signature:
export declare type EventHandler<TEvents extends EventProvider<TEvents>, TEventName extends EventName<TEvents>> = TEvents[TEventName];
References: EventProvider, EventName