amis-rpc-design/node_modules/fork-ts-checker-webpack-plugin/lib/plugin.d.ts

29 lines
1.5 KiB
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import type webpack from 'webpack';
import type { ForkTsCheckerWebpackPluginOptions } from './plugin-options';
declare class ForkTsCheckerWebpackPlugin {
/**
* Current version of the plugin
*/
static readonly version: string;
/**
* Default pools for the plugin concurrency limit
*/
static readonly issuesPool: import("./utils/async/pool").Pool;
static readonly dependenciesPool: import("./utils/async/pool").Pool;
/**
* @deprecated Use ForkTsCheckerWebpackPlugin.issuesPool instead
*/
static readonly pool: import("./utils/async/pool").Pool;
private readonly options;
constructor(options?: ForkTsCheckerWebpackPluginOptions);
static getCompilerHooks(compiler: webpack.Compiler): {
start: import("tapable").AsyncSeriesWaterfallHook<[import("./files-change").FilesChange, webpack.Compilation], import("tapable").UnsetAdditionalOptions>;
waiting: import("tapable").SyncHook<[webpack.Compilation], void, import("tapable").UnsetAdditionalOptions>;
canceled: import("tapable").SyncHook<[webpack.Compilation], void, import("tapable").UnsetAdditionalOptions>;
error: import("tapable").SyncHook<[unknown, webpack.Compilation], void, import("tapable").UnsetAdditionalOptions>;
issues: import("tapable").SyncWaterfallHook<[import("./issue/issue").Issue[], webpack.Compilation | undefined], void>;
};
apply(compiler: webpack.Compiler): void;
}
export { ForkTsCheckerWebpackPlugin };