fix(fs/wtacher): fix incorrect type for rename events (#947)

pull/954/head
Amr Bashir 1 year ago committed by GitHub
parent 343b1f55af
commit 531123cad0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"fs-js": "patch"
---
Fix incorrect `WatchEventKindModify` type for `rename` events.

@ -1150,7 +1150,7 @@ type WatchEventKindModify =
| "extended" | "extended"
| "other"; | "other";
} }
| { kind: "name"; mode: "any" | "to" | "from" | "both" | "other" } | { kind: "rename"; mode: "any" | "to" | "from" | "both" | "other" }
| { kind: "other" }; | { kind: "other" };
/** /**

Loading…
Cancel
Save