Interface Event<TEventType, TTarget>

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

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

Type Parameters

  • TEventType extends string = string
  • TTarget = unknown

Properties

Properties

target: TTarget