0
Fork 0
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:
mertalev 2024-02-29 20:23:02 -05:00
parent fb510e6153
commit 1ea61f0573
No known key found for this signature in database
GPG key ID: 9181CD92C0A1C5E3

View file

@ -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>;