Interface Event<T, K>

interface Event<T, K> {
    handler: EventHandler<T[K]>;
    name: K;
    once?: boolean;
}

Type Parameters

  • T
  • K extends keyof T = keyof T

Hierarchy (view full)

Properties

Properties

handler: EventHandler<T[K]>
name: K
once?: boolean