Adds constructor with options

This commit is contained in:
Zach Cardoza 2017-09-19 22:38:36 -07:00
parent b04ef81201
commit aa85998b99

View File

@ -17,6 +17,11 @@ export interface WatchedPaths {
}
export class FSWatcher extends EventEmitter implements fs.FSWatcher {
/**
* Constructs a new FSWatcher instance with optional WatchOptions parameter.
*/
constructor(options?: WatchOptions);
/**
* Add files, directories, or glob patterns for tracking. Takes an array of strings or just one