mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Add 'awaitWriteFinish' option to Chokidar
This commit is contained in:
Vendored
+5
-3
@@ -1,4 +1,4 @@
|
||||
// Type definitions for chokidar 1.0.0
|
||||
// Type definitions for chokidar 1.4.3
|
||||
// Project: https://github.com/paulmillr/chokidar
|
||||
// Definitions by: Stefan Steinhart <https://github.com/reppners/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -13,6 +13,7 @@ declare module "fs"
|
||||
add(filesDirsOrGlobs:Array<string>):void;
|
||||
unwatch(fileDirOrGlob:string):void;
|
||||
unwatch(filesDirsOrGlobs:Array<string>):void;
|
||||
getWatched():any;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,10 +34,11 @@ declare module "chokidar"
|
||||
binaryInterval?:number;
|
||||
ignorePermissionErrors?:boolean;
|
||||
atomic?:boolean;
|
||||
awaitWriteFinish?:any;
|
||||
}
|
||||
|
||||
import fs = require("fs");
|
||||
|
||||
function watch( fileDirOrGlob:string, options?:WatchOptions ):fs.FSWatcher;
|
||||
function watch( filesDirsOrGlobs:Array<string>, options?:WatchOptions ):fs.FSWatcher;
|
||||
function watch(fileDirOrGlob:string, options?:WatchOptions):fs.FSWatcher;
|
||||
function watch(filesDirsOrGlobs:Array<string>, options?:WatchOptions):fs.FSWatcher;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user