Type alias EventMap<TType>

EventMap<TType>: {
    [type in TType]: Event
}

A record used to map events. Each entry contains an event name with associated event interface.

Type Parameters

  • TType extends string

Example

{
'statechange': StateChangeEvent,
'error': ErrorEvent
}

Generated using TypeDoc