plugin-state.d.ts 797 B

123456789101112131415161718
  1. import type { AbortController } from 'node-abort-controller';
  2. import type { FullTap } from 'tapable';
  3. import type { FilesChange } from './files-change';
  4. import type { FilesMatch } from './files-match';
  5. import type { Issue } from './issue';
  6. interface 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. }
  17. declare function createPluginState(): ForkTsCheckerWebpackPluginState;
  18. export { ForkTsCheckerWebpackPluginState, createPluginState };