interface Emitter<T> {
    emit<K>(eventName, params?): void;
    off<K>(eventName, fn): void;
    on<K>(eventName, fn): void;
}

Type Parameters

Implemented by

Methods

Methods

Generated using TypeDoc