UNPKG

762 BTypeScriptView Raw
1import type webpack from 'webpack';
2import type { FormatterConfig } from './formatter';
3import type { IssueConfig } from './issue/issue-config';
4import type { Logger } from './logger';
5import type { ForkTsCheckerWebpackPluginOptions } from './plugin-options';
6import type { TypeScriptWorkerConfig } from './typescript/type-script-worker-config';
7interface ForkTsCheckerWebpackPluginConfig {
8 async: boolean;
9 typescript: TypeScriptWorkerConfig;
10 issue: IssueConfig;
11 formatter: FormatterConfig;
12 logger: Logger;
13 devServer: boolean;
14}
15declare function createPluginConfig(compiler: webpack.Compiler, options?: ForkTsCheckerWebpackPluginOptions): ForkTsCheckerWebpackPluginConfig;
16export { ForkTsCheckerWebpackPluginConfig, createPluginConfig };