fix(ci): satisfy file watcher lint
This commit is contained in:
parent
6fd75c6704
commit
9b2a53863d
1 changed files with 3 additions and 1 deletions
|
|
@ -75,7 +75,9 @@ interface ActiveSessionFile {
|
||||||
|
|
||||||
type RecursiveWatcherType = 'projects' | 'todos' | 'teams' | 'tasks';
|
type RecursiveWatcherType = 'projects' | 'todos' | 'teams' | 'tasks';
|
||||||
type PollingWatcherType = 'teams' | 'tasks';
|
type PollingWatcherType = 'teams' | 'tasks';
|
||||||
type CloseableWatcher = { close: () => void | Promise<void> };
|
interface CloseableWatcher {
|
||||||
|
close: () => void | Promise<void>;
|
||||||
|
}
|
||||||
|
|
||||||
export class FileWatcher extends EventEmitter {
|
export class FileWatcher extends EventEmitter {
|
||||||
private projectsWatcher: fs.FSWatcher | null = null;
|
private projectsWatcher: fs.FSWatcher | null = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue