vite-plugin-checker
Version:
Vite plugin that runs TypeScript type checker on a separate process.
20 lines (17 loc) • 692 B
TypeScript
import { NormalizedDiagnostic } from '../../logger.js';
import { DiagnosticLevel } from '../../types.js';
import '@babel/code-frame';
import 'eslint';
import 'stylelint';
import 'typescript';
import 'node:worker_threads';
import 'vite';
declare const severityMap: {
readonly error: DiagnosticLevel.Error;
readonly warning: DiagnosticLevel.Warning;
readonly info: DiagnosticLevel.Suggestion;
readonly information: DiagnosticLevel.Suggestion;
};
declare function getBiomeCommand(command: string, flags: string, files: string): string;
declare function runBiome(command: string, cwd: string): Promise<NormalizedDiagnostic[]>;
export { getBiomeCommand, runBiome, severityMap };