(fileName: string)
| 46 | } |
| 47 | |
| 48 | function getSyntacticDiagnostics(fileName: string): ts.DiagnosticWithLocation[] { |
| 49 | if (!angularOnly && isTypeScriptFile(fileName)) { |
| 50 | return tsLS.getSyntacticDiagnostics(fileName); |
| 51 | } |
| 52 | |
| 53 | // Template files do not currently produce separate syntactic diagnostics and |
| 54 | // are instead produced during the semantic diagnostic analysis. |
| 55 | return []; |
| 56 | } |
| 57 | |
| 58 | function getSuggestionDiagnostics(fileName: string): ts.DiagnosticWithLocation[] { |
| 59 | const diagnostics: ts.DiagnosticWithLocation[] = []; |
nothing calls this directly
no test coverage detected
searching dependent graphs…