diff --git a/src/main/services/infrastructure/FileWatcher.ts b/src/main/services/infrastructure/FileWatcher.ts index 3c0428d3..e22a60a7 100644 --- a/src/main/services/infrastructure/FileWatcher.ts +++ b/src/main/services/infrastructure/FileWatcher.ts @@ -75,7 +75,9 @@ interface ActiveSessionFile { type RecursiveWatcherType = 'projects' | 'todos' | 'teams' | 'tasks'; type PollingWatcherType = 'teams' | 'tasks'; -type CloseableWatcher = { close: () => void | Promise }; +interface CloseableWatcher { + close: () => void | Promise; +} export class FileWatcher extends EventEmitter { private projectsWatcher: fs.FSWatcher | null = null;