puppeteer/website/versioned_docs/version-22.3.0/api/puppeteer.eventswithwildcard.md
release-please[bot] 9ddfa5314c
chore: release main (#11972)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-02-26 10:14:43 +00:00

285 B

sidebar_label
EventsWithWildcard

EventsWithWildcard type

Signature:

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

References: EventType