UNPKG

typescript

Version:

TypeScript is a language for application scale JavaScript development

9 lines • 534 B
import type { DiagnosticResponse as Diagnostic } from "./proto.generated.ts"; export interface FormatDiagnosticsHost { getCurrentDirectory(): string; getCanonicalFileName(fileName: string): string; getNewLine(): string; } export declare function formatDiagnostics(diagnostics: readonly Diagnostic[], host: FormatDiagnosticsHost): string; export declare function formatDiagnosticsWithColorAndContext(diagnostics: readonly Diagnostic[], host: FormatDiagnosticsHost): string; //# sourceMappingURL=diagnosticFormatter.d.ts.map