fix(fs): Fix DebouncedEvent type to match what notify-rs returns (#848)

* fix(fs): Fix DebouncedEvent type to match what notify-rs returns

* Update fix-debounced-event-type.md
This commit is contained in:
Trevor Fitzgerald authored and GitHub committed 2023-12-27 15:39:05 +02:00
1 parent c60123093d
commit 85f8419682
2 files changed
+7 -2

No files matched your search

+2 -2
View File
@@ -1127,8 +1127,8 @@ type RawEventKind =
* @since 2.0.0
*/
type DebouncedEvent =
| { kind: "any"; path: string }
| { kind: "AnyContinous"; path: string };
| { kind: "Any"; path: string }[]
| { kind: "AnyContinuous"; path: string }[];
/**
* @since 2.0.0