UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

10 lines (9 loc) 243 B
type EventListener<T> = (data: T) => void; export declare class EventEmitter<T> { private listeners; constructor(); destroy(): void; subscribe(listener: EventListener<T>): () => void; notify(data: T): boolean; } export {};