From c79bdc7966998634ee6b4bb8e3648853294857bf Mon Sep 17 00:00:00 2001 From: Trevor Fitzgerald Date: Thu, 21 Dec 2023 19:40:13 -0500 Subject: [PATCH] fix(fs-watch): Fix DebouncedEvent type to match what notify-rs returns --- plugins/fs/guest-js/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/fs/guest-js/index.ts b/plugins/fs/guest-js/index.ts index 545e800c9c..56ff11ad7d 100644 --- a/plugins/fs/guest-js/index.ts +++ b/plugins/fs/guest-js/index.ts @@ -1125,8 +1125,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