MCPcopy Create free account
hub / github.com/angular/angular / hasErrors

Function hasErrors

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

Source from the content-addressed store, hash-verified

426}
427
428function hasErrors(diags: ReadonlyArray<ts.Diagnostic>) {
429 return diags.some((d) => d.category === ts.DiagnosticCategory.Error);
430}

Callers 2

performCompilationFunction · 0.85
checkDiagnosticsFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected