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

Function checkDiagnostics

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

Source from the content-addressed store, hash-verified

329 const allDiagnostics: Array<ts.Diagnostic> = [];
330
331 function checkDiagnostics(diags: ReadonlyArray<ts.Diagnostic> | undefined) {
332 if (diags) {
333 allDiagnostics.push(...diags);
334 return !hasErrors(diags);
335 }
336 return true;
337 }
338
339 let checkOtherDiagnostics = true;
340 // Check parameter diagnostics

Callers 1

defaultGatherDiagnosticsFunction · 0.85

Calls 2

hasErrorsFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…