fix watcher await

This commit is contained in:
Jonathan Jogenfors
2024-03-01 00:57:28 +01:00
parent e1872951e2
commit 298215a76a
4 changed files with 6 additions and 6 deletions
@@ -55,6 +55,6 @@ export interface IStorageRepository {
crawl(crawlOptions: CrawlOptionsDto): Promise<string[]>;
copyFile(source: string, target: string): Promise<void>;
rename(source: string, target: string): Promise<void>;
watch(paths: string[], options: WatchOptions, events: Partial<WatchEvents>): () => void;
watch(paths: string[], options: WatchOptions, events: Partial<WatchEvents>): () => Promise<void>;
utimes(filepath: string, atime: Date, mtime: Date): Promise<void>;
}