vite-plugin-checker
Version:
Vite plugin that runs TypeScript type checker on a separate process.
15 lines (12 loc) • 503 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 function mapSeverity(s: string): DiagnosticLevel;
declare function getOxlintCommand(command: string): string[];
declare function runOxlint(command: string, cwd: string): Promise<NormalizedDiagnostic[]>;
export { getOxlintCommand, mapSeverity, runOxlint };