( diagnostics: ReadonlyArray<ts.Diagnostic>, options: api.CompilerOptions | undefined, consoleError: (s: string) => void, )
| 229 | } |
| 230 | |
| 231 | function printDiagnostics( |
| 232 | diagnostics: ReadonlyArray<ts.Diagnostic>, |
| 233 | options: api.CompilerOptions | undefined, |
| 234 | consoleError: (s: string) => void, |
| 235 | ): void { |
| 236 | if (diagnostics.length === 0) { |
| 237 | return; |
| 238 | } |
| 239 | const formatHost = getFormatDiagnosticsHost(options); |
| 240 | consoleError(formatDiagnostics(diagnostics, formatHost)); |
| 241 | } |
no test coverage detected
searching dependent graphs…