UNPKG

duckengine

Version:
9 lines (8 loc) 244 B
export default class EventEmitter { callbacks: { [s: string]: ((...args: any[]) => any)[]; }; on(event: string, cb: (...args: any) => void): void; off(event: string): void; emit(event: string, ...args: any): void; }