Type Parameters

  • EventMap extends Record<string, any>

Hierarchy

Constructors

  • Type Parameters

    • EventMap extends Record<string, any>

    Returns EventEmitter<EventMap>

Properties

#private: any

Methods

  • Type Parameters

    • K extends string | number | symbol

    Parameters

    • type: K
    • listener: null | EventHandler<EventMap[K]>
    • Optional options: boolean | AddEventListenerOptions

    Returns void

  • Parameters

    Returns boolean

  • Parameters

    • type: string

    Returns number

  • Type Parameters

    • K extends string | number | symbol

    Parameters

    • type: K
    • Optional listener: null | EventHandler<EventMap[K]>
    • Optional options: boolean | EventListenerOptions

    Returns void

  • Type Parameters

    • Detail

    Parameters

    • type: keyof EventMap
    • detail: CustomEventInit<Detail>

    Returns boolean