fix(fs-watch): Fix DebouncedEvent type to match what notify-rs returns (#840)

pull/815/head
Trevor Fitzgerald 1 year ago committed by GitHub
parent 35d821cbf1
commit 7de603ebff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 });

Loading…
Cancel
Save