| 1 |
export declare class TinyEmitter { |
| 2 |
on(event: string, callback: Function, ctx?: any): this; |
| 3 |
once(event: string, callback: Function, ctx?: any): this; |
| 4 |
emit(event: string, ...args: any[]): this; |
| 5 |
off(event: string, callback?: Function): this; |
| 6 |
} |