Skip to main content

EventEmitterEventType TypeAlias

The event emitter polyfill and the node event emitter have different event types: string | symbol vs. string | number

The polyfill is now always used, but string is the only event type preferred.

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

export type EventEmitterEventType = string;