MCPcopy Index your code
hub / github.com/angular/angular / hasErrors

Function hasErrors

packages/compiler-cli/src/perform_compile.ts:364–366  ·  view source on GitHub ↗
(diags: ReadonlyArray<ts.Diagnostic>)

Source from the content-addressed store, hash-verified

362}
363
364function hasErrors(diags: ReadonlyArray<ts.Diagnostic>) {
365 return diags.some((d) => d.category === ts.DiagnosticCategory.Error);
366}

Callers 2

performCompilationFunction · 0.85
checkDiagnosticsFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…