mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
gulp-watch: Allow to omit options object (#19087)
This commit is contained in:
parent
bdeaabff24
commit
3dfa2b2005
1
types/gulp-watch/index.d.ts
vendored
1
types/gulp-watch/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user