Skip to content

Commit

Permalink
fix(fs-watch): Fix DebouncedEvent type to match what notify-rs returns (
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev authored Dec 20, 2023
1 parent 35d821c commit 7de603e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/fs-watch/guest-js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 7de603e

Please sign in to comment.