Type Alias EventOfType<E>

EventOfType<E>: Expand<Extract<Event, Event & EventFor<E>>>

Represents the event data object given one particular event type, for example EventOfType<"accept">.

Type Parameters

E The specific event type.