mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-29 12:06:01 +02:00
fix(fs-watch): Fix DebouncedEvent type to match what notify-rs returns (#840)
This commit is contained in:
committed by
GitHub
parent
35d821cbf1
commit
7de603ebff
@@ -35,8 +35,8 @@ type RawEventKind =
|
||||
| "other";
|
||||
|
||||
export type DebouncedEvent =
|
||||
| { kind: "any"; path: string }
|
||||
| { kind: "AnyContinous"; path: string };
|
||||
| { kind: "Any"; path: string }[]
|
||||
| { kind: "AnyContinuous"; path: string }[];
|
||||
|
||||
async function unwatch(id: number): Promise<void> {
|
||||
await invoke("plugin:fs-watch|unwatch", { id });
|
||||
|
||||
Reference in New Issue
Block a user