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

Function checkDiagnostics

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

Source from the content-addressed store, hash-verified

393 const allDiagnostics: Array<ts.Diagnostic> = [];
394
395 function checkDiagnostics(diags: ReadonlyArray<ts.Diagnostic> | undefined) {
396 if (diags) {
397 allDiagnostics.push(...diags);
398 return !hasErrors(diags);
399 }
400 return true;
401 }
402
403 let checkOtherDiagnostics = true;
404 // Check parameter diagnostics

Callers 1

defaultGatherDiagnosticsFunction · 0.85

Calls 2

hasErrorsFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected