(problem: Problem.Any)
| 5338 | } |
| 5339 | } |
| 5340 | const report = (problem: Problem.Any): void => { |
| 5341 | try { |
| 5342 | options.report(problem) |
| 5343 | } catch { |
| 5344 | // A check only reports: a sink that throws changes nothing. |
| 5345 | } |
| 5346 | } |
| 5347 | const notify = <A>(listeners: ReadonlySet<(a: A) => void>, a: A): void => { |
| 5348 | for (const listener of Array.from(listeners)) { |
| 5349 | try { |
no test coverage detected