Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
177
function
getDiagnosticSourceCode(diag: ts.Diagnostic): string {
178
return
diag.file!.text.substring(diag.start!, diag.start! + diag.length!);
179
}
Callers
1
imports_spec.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected