(value: LspDiagnostic[], tr)
| 79 | return []; |
| 80 | }, |
| 81 | update(value: LspDiagnostic[], tr): LspDiagnostic[] { |
| 82 | for (const effect of tr.effects) { |
| 83 | if (effect.is(setPublishedDiagnostics)) { |
| 84 | value = effect.value; |
| 85 | } |
| 86 | } |
| 87 | return value; |
| 88 | }, |
| 89 | }); |
| 90 | |
| 91 | type DiagnosticSeverity = "error" | "warning" | "info" | "hint"; |
nothing calls this directly
no outgoing calls
no test coverage detected