simplify typing

This commit is contained in:
mertalev
2024-02-29 20:23:02 -05:00
parent fb510e6153
commit 1ea61f0573
@@ -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>;