puppeteer/docs/api/puppeteer.eventswithwildcard.md
2023-09-13 15:47:55 +02:00

230 B

sidebar_label
EventsWithWildcard

EventsWithWildcard type

Signature:

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