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

Function getDiagnosticSourceCode

packages/compiler-cli/test/ngtsc/imports_spec.ts:177–179  ·  view source on GitHub ↗
(diag: ts.Diagnostic)

Source from the content-addressed store, hash-verified

175});
176
177function getDiagnosticSourceCode(diag: ts.Diagnostic): string {
178 return diag.file!.text.substring(diag.start!, diag.start! + diag.length!);
179}

Callers 1

imports_spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…