Type alias EventsOfType<Events, T>

EventsOfType<Events, T>: Extract<Events[keyof Events], TypedEvent<T>>

Picks event of given type from a TypedEvent tuple.

Type Parameters

  • Events

  • T extends string

Generated using TypeDoc