EventMap
The shape an event map has to satisfy.
Signature
type EventMap<T> = Record<keyof T, unknown[]>;JSDoc
@descriptionWritten in terms of the map's own keys instead of an index signature: interfaces never get an implicit one, and requiring a `type` alias would cost module augmentation.
Members
This export does not declare public properties or methods in the generated declaration file.