mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05:00
simplify typing
This commit is contained in:
parent
fb510e6153
commit
1ea61f0573
1 changed files with 1 additions and 6 deletions
|
@ -3,12 +3,7 @@ import { WatchOptions } from 'chokidar';
|
|||
|
||||
interface MockWatcherOptions {
|
||||
items?: Array<{
|
||||
event:
|
||||
| StorageEventType.READY
|
||||
| StorageEventType.ADD
|
||||
| StorageEventType.CHANGE
|
||||
| StorageEventType.UNLINK
|
||||
| StorageEventType.ERROR;
|
||||
event: StorageEventType;
|
||||
value: string;
|
||||
}>;
|
||||
close?: () => Promise<void>;
|
||||
|
|
Loading…
Reference in a new issue