Appearance
type EventNames<Map> = (keyof Map & string) | symbol;
Returns a union type containing all the keys of an event map.
Map
EventsMap