()
| 10 | readonly CLOSED = 2 as const |
| 11 | |
| 12 | constructor() { |
| 13 | super(); |
| 14 | (this as EventSource).addEventListener('error', this.onerror); |
| 15 | (this as EventSource).addEventListener('message', this.onmessage) |
| 16 | this.addEventListener('open', this.onopen) |
| 17 | } |
| 18 | |
| 19 | onerror(_ev: Event) { |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected