(event: K, callback?: (data: IncomingEvents[K]) => any)
| 68 | } |
| 69 | |
| 70 | off<K extends keyof IncomingEvents & SystemEvents>(event: K, callback?: (data: IncomingEvents[K]) => any): void { |
| 71 | return this.emitter.off(event as string, callback) |
| 72 | } |
| 73 | |
| 74 | on<K extends keyof IncomingEvents>(event: K, callback?: (data: IncomingEvents[K]) => any): void { |
| 75 | return this.emitter.on(event as string, callback) |
no outgoing calls
no test coverage detected