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

Function getSemanticDiagnostics

packages/language-service/src/ts_plugin.ts:67–74  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

65 }
66
67 function getSemanticDiagnostics(fileName: string): ts.Diagnostic[] {
68 const diagnostics: ts.Diagnostic[] = [];
69 if (!angularOnly && isTypeScriptFile(fileName)) {
70 diagnostics.push(...tsLS.getSemanticDiagnostics(fileName));
71 }
72 diagnostics.push(...ngLS.getSemanticDiagnostics(fileName));
73 return diagnostics;
74 }
75
76 function getQuickInfoAtPosition(fileName: string, position: number): ts.QuickInfo | undefined {
77 return withFallback(fileName, (ls) => ls.getQuickInfoAtPosition(fileName, position));

Callers

nothing calls this directly

Calls 3

isTypeScriptFileFunction · 0.90
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…