Type Alias _BuiltInEvents<T>Internal Category

_BuiltInEvents<T>: {
    newListener: (<E>(eventName: E, listener: T[E]) => ReturnType<Parameters<EventEmitter["on"]>[1]>);
    removeListener: (<E>(eventName: E, listener: T[E]) => ReturnType<Parameters<EventEmitter["on"]>[1]>);
}

Built-in events on all EventEmitters.

Typed EventEmitter

Type Parameters