Skip to main content
Version: 21.5.2

EventsWithWildcard type

Signature:

export type EventsWithWildcard<Events extends Record<EventType, unknown>> =
Events & {
'*': Events[keyof Events];
};

References: EventType