// Type definitions for gulp-watch v4.1.1 // Project: https://github.com/floatdrop/gulp-watch // Definitions by: Tanguy Krotoff // Definitions: https://github.com/borisyankov/DefinitelyTyped /// declare module 'gulp-watch' { interface IOptions { ignoreInitial?: boolean; events?: Array; base?: string; name?: string; verbose?: boolean; readDelay?: number; } interface IWatchStream extends NodeJS.ReadWriteStream { add(path: string | Array): NodeJS.ReadWriteStream; unwatch(path: string | Array): NodeJS.ReadWriteStream; close(): NodeJS.ReadWriteStream; } function watch(glob: string | Array, options?: IOptions, callback?: Function): IWatchStream; namespace watch {} export = watch; }