gulp-watch: Allow to omit options object (#19087)

This commit is contained in:
Andy
2017-08-17 14:43:58 -07:00
committed by GitHub
parent bdeaabff24
commit 3dfa2b2005
+1
View File
@@ -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;