-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: patch fsevents ts file (#10913)
- Loading branch information
Showing
3 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/fsevents.d.ts b/fsevents.d.ts | ||
index 3979ab9e5b060e3a6c10449762ba872c5244f29a..2723c048a80df296ecc13eff5d96549f572a7383 100644 | ||
--- a/fsevents.d.ts | ||
+++ b/fsevents.d.ts | ||
@@ -15,7 +15,7 @@ declare type Info = { | ||
}; | ||
declare type WatchHandler = (path: string, flags: number, id: string) => void; | ||
export declare function watch(path: string, handler: WatchHandler): () => Promise<void>; | ||
-export declare function watch(path: string, since: number, handler: WatchHandler); | ||
+export declare function watch(path: string, since: number, handler: WatchHandler): () => Promise<void>; | ||
export declare function getInfo(path: string, flags: number): Info; | ||
export declare const constants: { | ||
None: 0x00000000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters