fork-ts-checker-webpack-plugin
Version:
Runs typescript type checker and linter on separate process.
17 lines (16 loc) • 767 B
TypeScript
import type * as webpack from 'webpack';
import type { FormatterConfig } from './formatter';
import type { IssueConfig } from './issue/issue-config';
import type { Logger } from './logger';
import type { ForkTsCheckerWebpackPluginOptions } from './plugin-options';
import type { TypeScriptWorkerConfig } from './typescript/type-script-worker-config';
interface ForkTsCheckerWebpackPluginConfig {
async: boolean;
typescript: TypeScriptWorkerConfig;
issue: IssueConfig;
formatter: FormatterConfig;
logger: Logger;
devServer: boolean;
}
declare function createPluginConfig(compiler: webpack.Compiler, options?: ForkTsCheckerWebpackPluginOptions): ForkTsCheckerWebpackPluginConfig;
export { ForkTsCheckerWebpackPluginConfig, createPluginConfig };