()
| 18047 | ts.insertSorted(diagnostics, diagnostic, compareDiagnostics); |
| 18048 | } |
| 18049 | function getGlobalDiagnostics() { |
| 18050 | hasReadNonFileDiagnostics = true; |
| 18051 | return nonFileDiagnostics; |
| 18052 | } |
| 18053 | function getDiagnostics(fileName) { |
| 18054 | if (fileName) { |
| 18055 | return fileDiagnostics.get(fileName) || []; |
nothing calls this directly
no test coverage detected