Appearance
type Key<K, T> = T extends DefaultEventMap ? string | symbol : K | keyof T;
A utility type used to extract the event key from the event map.
K
T