Skip to main content

Listeners TypeAlias

Used to specify the kinds of events emitted by a Listenable.

This API is deprecated and will be removed in a future release.

Deprecated in @fluidframework/tree. Consider importing from fluid-framework or @fluidframework/core-interfaces instead.

Signature

export type Listeners<T extends object> = EventListeners<T>;

Type Parameters

Parameter Constraint Description
T object

Remarks

Any object type is a valid Listeners, but only the event-like properties of that type will be included.