(event: Event)
| 29 | if (!listener) { |
| 30 | const handlers = new Set<Handler>() |
| 31 | const dispatch = (event: Event): void => { |
| 32 | handlers.forEach((handler) => { |
| 33 | handler(event) |
| 34 | }) |
| 35 | } |
| 36 | listener = { handlers, dispatch, eventType, capture } |
| 37 | handlersByType.set(key, listener) |
| 38 | document.addEventListener(eventType, dispatch, { capture }) |
nothing calls this directly
no outgoing calls
no test coverage detected