(eventName: EventType)
| 23 | } |
| 24 | |
| 25 | emit(eventName: EventType) { |
| 26 | const callbacks = this.events[eventName]; |
| 27 | if (callbacks) { |
| 28 | callbacks.forEach((callback) => callback()); |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | const getEventEmitter = () => { |
no outgoing calls
no test coverage detected