1 | import { Diagnostic } from "typescript";
|
2 | import { DiagnosticsHandler, NormalizedOptions } from "./interfaces";
|
3 | export default class DiagnosticsHandlerImpl implements DiagnosticsHandler {
|
4 | private throwOnError;
|
5 | private host;
|
6 | private write;
|
7 | constructor(options: NormalizedOptions);
|
8 | setWrite(write: (s: string) => void): void;
|
9 | check(diagnostics: Diagnostic | Diagnostic[] | undefined, throwOnError?: boolean): boolean;
|
10 | format(diagnostics: Diagnostic[]): string;
|
11 | }
|