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

Function getErrorCountForSummary

test/fixtures/snapshot/typescript.js:122774–122776  ·  view source on GitHub ↗
(diagnostics)

Source from the content-addressed store, hash-verified

122772 }
122773 ts.parseConfigFileWithSystem = parseConfigFileWithSystem;
122774 function getErrorCountForSummary(diagnostics) {
122775 return ts.countWhere(diagnostics, function (diagnostic) { return diagnostic.category === ts.DiagnosticCategory.Error; });
122776 }
122777 ts.getErrorCountForSummary = getErrorCountForSummary;
122778 function getFilesInErrorForSummary(diagnostics) {
122779 var filesInError = ts.filter(diagnostics, function (diagnostic) { return diagnostic.category === ts.DiagnosticCategory.Error; })

Callers 1

emitFilesAndReportErrorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected