UNPKG

vite-plugin-checker

Version:

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

15 lines (12 loc) 457 B
import { ServeAndBuildChecker } from '../../types.js'; import * as vite from 'vite'; import { Checker } from '../../Checker.js'; import 'node:worker_threads'; import 'eslint'; import 'stylelint'; import '../../worker.js'; declare class OxlintChecker extends Checker<'oxlint'> { constructor(); } declare const createServeAndBuild: ((config: any, env: vite.ConfigEnv) => ServeAndBuildChecker) | undefined; export { OxlintChecker, createServeAndBuild };