mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +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:
committed by
GitHub
parent
c60123093d
commit
85f8419682
@@ -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
|
||||
*/
|
||||
type DebouncedEvent =
|
||||
| { kind: "any"; path: string }
|
||||
| { kind: "AnyContinous"; path: string };
|
||||
| { kind: "Any"; path: string }[]
|
||||
| { kind: "AnyContinuous"; path: string }[];
|
||||
|
||||
/**
|
||||
* @since 2.0.0
|
||||
|
||||
Reference in New Issue
Block a user