Interface Event<TEventType, TTarget>

The minimal expected contract of a fired Event that was dispatched by a <>.

interface Event<TEventType, TTarget> {
    target: TTarget;
    type: TEventType;
}

Type Parameters

  • TEventType extends string = string
  • TTarget = unknown

Properties

Properties

target: TTarget