mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
watchPath returns a Promise
This commit is contained in:
parent
4e4bc72092
commit
8015c2aead
2
types/atom/index.d.ts
vendored
2
types/atom/index.d.ts
vendored
@ -24,7 +24,7 @@ declare global {
|
||||
* Project::onDidChangeFiles instead.
|
||||
*/
|
||||
export function watchPath(rootPath: string, options: {}, eventCallback: (events:
|
||||
FilesystemChangeEvent) => void): PathWatcher;
|
||||
FilesystemChangeEvent) => void): Promise<PathWatcher>;
|
||||
|
||||
// Essential Classes ==========================================================
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user