mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
gulp-watch: Allow to omit options object (#19087)
This commit is contained in:
Vendored
+1
@@ -22,6 +22,7 @@ interface IWatchStream extends NodeJS.ReadWriteStream {
|
||||
close(): NodeJS.ReadWriteStream;
|
||||
}
|
||||
|
||||
declare function watch(glob: string | Array<string>, callback?: Function): IWatchStream;
|
||||
declare function watch(glob: string | Array<string>, options?: IOptions, callback?: Function): IWatchStream;
|
||||
declare namespace watch { }
|
||||
export = watch;
|
||||
|
||||
Reference in New Issue
Block a user