UNPKG

jcore-ui

Version:

jcore-ui - components for building an interface

12 lines 476 B
import { IObject, IFunction } from '../interfaces/index'; export declare type TEventEmitter = EventEmitter; declare class EventEmitter { events: IObject; constructor(); on(event: string, listener: IFunction): () => void; removeListener(event: string, listener: IFunction): void; emit(event: string, ...args: any): void; once(event: string, listener: IFunction): void; } export default EventEmitter; //# sourceMappingURL=EventEmitter.d.ts.map