Back to Puppeteer

EventsWithWildcard type

docs/api/puppeteer.eventswithwildcard.md

19.2.2239 B
Original Source

EventsWithWildcard type

Signature

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

References: EventType