UNPKG

797 BTypeScriptView Raw
1import type { AbortController } from 'node-abort-controller';
2import type { FullTap } from 'tapable';
3import type { FilesChange } from './files-change';
4import type { FilesMatch } from './files-match';
5import type { Issue } from './issue';
6interface ForkTsCheckerWebpackPluginState {
7 issuesPromise: Promise<Issue[] | undefined>;
8 dependenciesPromise: Promise<FilesMatch | undefined>;
9 abortController: AbortController | undefined;
10 aggregatedFilesChange: FilesChange | undefined;
11 lastDependencies: FilesMatch | undefined;
12 watching: boolean;
13 initialized: boolean;
14 iteration: number;
15 webpackDevServerDoneTap: FullTap | undefined;
16}
17declare function createPluginState(): ForkTsCheckerWebpackPluginState;
18export { ForkTsCheckerWebpackPluginState, createPluginState };