UNPKG

vite-plugin-checker

Version:

Vite plugin that runs TypeScript type checker on a separate process.

15 lines (14 loc) 524 B
import { NormalizedDiagnostic } from "./logger.js"; //#region src/FileDiagnosticManager.d.ts declare class FileDiagnosticManager { diagnostics: NormalizedDiagnostic[]; /** * Initialize and reset the diagnostics array */ initWith(diagnostics: NormalizedDiagnostic[]): void; getDiagnostics(fileName?: string): NormalizedDiagnostic[]; updateByFileId(fileId: string, next: NormalizedDiagnostic[] | null): void; } //#endregion export { FileDiagnosticManager }; //# sourceMappingURL=FileDiagnosticManager.d.ts.map