InclusiveNodeWatchFileSystem.d.ts 905 B

123456789101112131415
  1. import { ForkTsCheckerWebpackPluginState } from '../ForkTsCheckerWebpackPluginState';
  2. import { FSWatcher } from 'chokidar';
  3. import { Watcher, WatchFileSystem, WatchFileSystemOptions } from './WatchFileSystem';
  4. import { Compiler } from 'webpack';
  5. declare class InclusiveNodeWatchFileSystem implements WatchFileSystem {
  6. private watchFileSystem;
  7. private compiler;
  8. private pluginState;
  9. get watcher(): import("./WatchFileSystem").Watchpack;
  10. readonly dirsWatchers: Map<string, FSWatcher | undefined>;
  11. constructor(watchFileSystem: WatchFileSystem, compiler: Compiler, pluginState: ForkTsCheckerWebpackPluginState);
  12. private paused;
  13. watch(files: Iterable<string>, dirs: Iterable<string>, missing: Iterable<string>, startTime?: number, options?: Partial<WatchFileSystemOptions>, callback?: Function, callbackUndelayed?: Function): Watcher;
  14. }
  15. export { InclusiveNodeWatchFileSystem };