Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
428
function
hasErrors(diags: ReadonlyArray<ts.Diagnostic>) {
429
return
diags.some((d) => d.category === ts.DiagnosticCategory.Error);
430
}
Callers
2
performCompilation
Function · 0.85
checkDiagnostics
Function · 0.85
Calls
1
some
Method · 0.80
Tested by
no test coverage detected