(file?: ts.SourceFile)
| 170 | } |
| 171 | |
| 172 | getDiagnostics(file?: ts.SourceFile): ts.Diagnostic[] { |
| 173 | if (file === undefined) { |
| 174 | return this.compiler.getDiagnostics(); |
| 175 | } |
| 176 | return this.compiler.getDiagnosticsForFile(file, OptimizeFor.WholeProgram); |
| 177 | } |
| 178 | |
| 179 | getOptionDiagnostics(): ts.Diagnostic[] { |
| 180 | return this.compiler.getOptionDiagnostics(); |
nothing calls this directly
no test coverage detected