mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-20 21:20:42 +02:00
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:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"fs-js": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix `DebouncedEvent` type to correctly represent the actual type.
|
||||||
@@ -1127,8 +1127,8 @@ type RawEventKind =
|
|||||||
* @since 2.0.0
|
* @since 2.0.0
|
||||||
*/
|
*/
|
||||||
type DebouncedEvent =
|
type DebouncedEvent =
|
||||||
| { kind: "any"; path: string }
|
| { kind: "Any"; path: string }[]
|
||||||
| { kind: "AnyContinous"; path: string };
|
| { kind: "AnyContinuous"; path: string }[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @since 2.0.0
|
* @since 2.0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user