MCPcopy Index your code
hub / github.com/nodejs/node / getDeclarationDiagnostics

Function getDeclarationDiagnostics

test/fixtures/snapshot/typescript.js:108033–108037  ·  view source on GitHub ↗
(host, resolver, file)

Source from the content-addressed store, hash-verified

108031var ts;
108032(function (ts) {
108033 function getDeclarationDiagnostics(host, resolver, file) {
108034 var compilerOptions = host.getCompilerOptions();
108035 var result = ts.transformNodes(resolver, host, ts.factory, compilerOptions, file ? [file] : ts.filter(host.getSourceFiles(), ts.isSourceFileNotJson), [transformDeclarations], /*allowDtsFiles*/ false);
108036 return result.diagnostics;
108037 }
108038 ts.getDeclarationDiagnostics = getDeclarationDiagnostics;
108039 function hasInternalAnnotation(range, currentSourceFile) {
108040 var comment = currentSourceFile.text.substring(range.pos, range.end);

Callers

nothing calls this directly

Calls 3

getDiagnosticsHelperFunction · 0.85
filterMethod · 0.65

Tested by

no test coverage detected