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.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluid-internal/client-utils/legacy.

For more information about our API support guarantees, see here.

Signature

export type EventEmitterEventType = string;