(fileName: string)
| 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)); |
nothing calls this directly
no test coverage detected
searching dependent graphs…