4.1.39 • Published 6 months ago
@types/gulp-watch v4.1.39
Installation
npm install --save @types/gulp-watch
Summary
This package contains type definitions for gulp-watch (https://github.com/floatdrop/gulp-watch).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-watch.
index.d.ts
// Type definitions for gulp-watch v4.1.1
// Project: https://github.com/floatdrop/gulp-watch
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import * as File from "vinyl";
import { SrcOptions } from "vinyl-fs";
interface IOptions extends SrcOptions {
ignoreInitial?: boolean | undefined;
events?: Array<string> | undefined;
base?: string | undefined;
name?: string | undefined;
verbose?: boolean | undefined;
readDelay?: number | undefined;
}
interface IWatchStream extends NodeJS.ReadWriteStream {
add(path: string | Array<string>): NodeJS.ReadWriteStream;
unwatch(path: string | Array<string>): NodeJS.ReadWriteStream;
close(): NodeJS.ReadWriteStream;
}
type Cb = (file: File & { event: "add" | "change" | "unlink" }) => void;
declare function watch(glob: string | Array<string>, callback?: Cb): IWatchStream;
declare function watch(glob: string | Array<string>, options?: IOptions, callback?: Cb): IWatchStream;
declare namespace watch { }
export = watch;
Additional Details
- Last updated: Thu, 08 Jul 2021 14:22:36 GMT
- Dependencies: @types/vinyl, @types/vinyl-fs, @types/node
- Global values: none
Credits
These definitions were written by Tanguy Krotoff.
4.1.38
6 months ago
4.1.39
6 months ago
4.1.36
8 months ago
4.1.37
7 months ago
4.1.35
3 years ago
4.1.34
7 years ago
4.1.33
7 years ago
4.1.32
7 years ago
4.1.31
7 years ago
4.1.30
7 years ago
4.1.29
8 years ago
4.1.28
8 years ago
4.1.27-alpha
8 years ago
4.1.26-alpha
8 years ago
4.1.25-alpha
8 years ago
4.1.24-alpha
8 years ago
4.1.23-alpha
8 years ago
4.1.22-alpha
8 years ago
4.1.21-alpha
8 years ago
4.1.16-alpha
8 years ago
4.1.15-alpha
8 years ago