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

Function getDeclarationDiagnosticsWorker

test/fixtures/snapshot/typescript.js:117900–117902  ·  view source on GitHub ↗
(sourceFile, cancellationToken)

Source from the content-addressed store, hash-verified

117898 });
117899 }
117900 function getDeclarationDiagnosticsWorker(sourceFile, cancellationToken) {
117901 return getAndCacheDiagnostics(sourceFile, cancellationToken, cachedDeclarationDiagnosticsForFile, getDeclarationDiagnosticsForFileNoCache);
117902 }
117903 function getDeclarationDiagnosticsForFileNoCache(sourceFile, cancellationToken) {
117904 return runWithCancellationToken(function () {
117905 var resolver = getTypeChecker().getEmitResolver(sourceFile, cancellationToken);

Callers 2

Calls 1

getAndCacheDiagnosticsFunction · 0.85

Tested by

no test coverage detected