Event
Interface for events dispatched by EventEmitter
declare class Event<T> {
constructor(name: string, detail: T);
readonly detail: T;
readonly type: string;
}
Properties
detail — T
Event payload
type — string
Event name
Interface for events dispatched by EventEmitter
declare class Event<T> {
constructor(name: string, detail: T);
readonly detail: T;
readonly type: string;
}
detail — T
Event payload
type — string
Event name