Payload<Type>: Extract<OpenFin.Events.ViewEvents.ViewEvent, {
    type: Type;
}>

Extracts a single event type matching the given key from the ViewEvent union.

Type Parameters

  • Type extends ViewEventType

    String key specifying the event to extract

Type declaration

  • type: Type