Type Alias ListenerMap<E>

ListenerMap<E>: {
    [eventName in E]: AnyListener
}

Base class for types mapping from event name to the type of listeners to that event

Type Parameters

  • E extends string