Payload<Type>: Extract<OpenFin.Events.FrameEvents.FrameEvent, {
    type: Type;
}>

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

Type Parameters

  • Type extends FrameEventType

    String key specifying the event to extract

Type declaration

  • type: Type