(diagnostics: ts.Diagnostic[], fileSystem: FileSystem)
| 12 | |
| 13 | /** Formats the specified diagnostics with respect to the given file system. */ |
| 14 | export function formatDiagnostics(diagnostics: ts.Diagnostic[], fileSystem: FileSystem): string { |
| 15 | const formatHost = createFormatDiagnosticHost(fileSystem); |
| 16 | return ts.formatDiagnosticsWithColorAndContext(diagnostics, formatHost); |
| 17 | } |
no test coverage detected