Skip to main content
Version: 22.7.1

EventsWithWildcard type

Signature:

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

References: EventType