vite-plugin-istanbul
Version:
vite-plugin-istanbul ==========================
22 lines (19 loc) • 736 B
TypeScript
import { GeneratorOptions } from '/home/runner/work/vite-plugin-istanbul/vite-plugin-istanbul/node_modules/.pnpm/@types+babel__generator@7.6.8/node_modules/@types/babel__generator/index.d.ts';
import { Plugin } from 'vite';
declare global {
var __coverage__: any;
}
interface IstanbulPluginOptions {
include?: string | string[];
exclude?: string | string[];
extension?: string | string[];
requireEnv?: boolean;
cypress?: boolean;
checkProd?: boolean;
forceBuildInstrument?: boolean;
cwd?: string;
nycrcPath?: string;
generatorOpts?: GeneratorOptions;
}
declare function istanbulPlugin(opts?: IstanbulPluginOptions): Plugin;
export { type IstanbulPluginOptions, istanbulPlugin as default };