Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
364
function
hasErrors(diags: ReadonlyArray<ts.Diagnostic>) {
365
return
diags.some((d) => d.category === ts.DiagnosticCategory.Error);
366
}
Callers
2
performCompilation
Function · 0.85
checkDiagnostics
Function · 0.85
Calls
1
some
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…