run npm install to generate a package lock
This commit is contained in:
17
node_modules/watcher/dist/watcher_poller.d.ts
generated
vendored
Normal file
17
node_modules/watcher/dist/watcher_poller.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { FileType, TargetEvent } from './enums';
|
||||
import LazyMapSet from './lazy_map_set';
|
||||
import WatcherStats from './watcher_stats';
|
||||
import type { INO, Path } from './types';
|
||||
declare class WatcherPoller {
|
||||
inos: Partial<Record<TargetEvent, Record<Path, [INO, FileType]>>>;
|
||||
paths: LazyMapSet<INO, Path>;
|
||||
stats: Map<Path, WatcherStats>;
|
||||
getIno(targetPath: Path, event: TargetEvent, type?: FileType): INO | undefined;
|
||||
getStats(targetPath: Path): WatcherStats | undefined;
|
||||
poll(targetPath: Path, timeout?: number): Promise<WatcherStats | undefined>;
|
||||
reset(): void;
|
||||
update(targetPath: Path, timeout?: number): Promise<TargetEvent[]>;
|
||||
updateIno(targetPath: Path, event: TargetEvent, stats: WatcherStats): void;
|
||||
updateStats(targetPath: Path, stats?: WatcherStats): void;
|
||||
}
|
||||
export default WatcherPoller;
|
||||
Reference in New Issue
Block a user