Back to reference

Event

Interface for events dispatched by EventEmitter

declare class Event<T> {
  constructor(name: string, detail: T);
  readonly detail: T;
  readonly type: string;
}

Properties

detailT
Event payload

typestring
Event name

Last Updated: 4/22/2022, 6:49:35 PM