Type Alias EventOfType<E>

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

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

Type Parameters