(pretty: boolean, system = ts.sys)
| 4 | diagnostic.source === "typescript-to-lua" ? { ...diagnostic, code: "TL" as any } : diagnostic; |
| 5 | |
| 6 | export function createDiagnosticReporter(pretty: boolean, system = ts.sys): ts.DiagnosticReporter { |
| 7 | const reporter = ts.createDiagnosticReporter(system, pretty); |
| 8 | return diagnostic => reporter(prepareDiagnosticForFormatting(diagnostic)); |
| 9 | } |
no test coverage detected