Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c601230 commit 85f8419Copy full SHA for 85f8419
2 files changed
.changes/fix-debounced-event-type.md
@@ -0,0 +1,5 @@
1
+---
2
+"fs-js": patch
3
4
+
5
+Fix `DebouncedEvent` type to correctly represent the actual type.
plugins/fs/guest-js/index.ts
@@ -1127,8 +1127,8 @@ type RawEventKind =
1127
* @since 2.0.0
1128
*/
1129
type DebouncedEvent =
1130
- | { kind: "any"; path: string }
1131
- | { kind: "AnyContinous"; path: string };
+ | { kind: "Any"; path: string }[]
+ | { kind: "AnyContinuous"; path: string }[];
1132
1133
/**
1134
0 commit comments