puppeteer/docs/api/puppeteer.eventswithwildcard.md
2023-11-13 13:27:17 +01:00

285 B

sidebar_label
EventsWithWildcard

EventsWithWildcard type

Signature:

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

References: EventType