Event handler for an event with the given type
Map of EventListenerData which is stored on each EventDispatcher
Takes a union of possible events TEvent
, and extract only the events that contain a type
property that can possibly be TType
Takes a union of event types, possible created with createEventClass or
createIsomorphicEventClass, and extracts the correct typings based on the
given type TType
Returns the (union) type of the type
property on an event if and only if that type contains
the given TType
Extract the typeof the type
property of an AbstractEvent (which is possibly a union)
Takes an event TEvent
. If TEvent
extends IsomorphicBaseEvent
, it will narrow down
this IsomorphicBaseEvent
to one which has the given TType
Generated using TypeDoc
Looks up the string literal type
T
in the tuple typeTTypes
, and returns the data type that can be found at the same index onTDataTypes