MCPcopy Create free account
hub / github.com/nodejs/node / getGlobalDiagnostics

Function getGlobalDiagnostics

test/fixtures/snapshot/typescript.js:18049–18052  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) || [];

Callers

nothing calls this directly

Calls 3

getTypeCheckerFunction · 0.85
sliceMethod · 0.65

Tested by

no test coverage detected