3.0.39 • Published 6 months ago
@types/gulp-filter v3.0.39
Installation
npm install --save @types/gulp-filter
Summary
This package contains type definitions for gulp-filter (https://github.com/sindresorhus/gulp-filter).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-filter.
index.d.ts
// Type definitions for gulp-filter v3.0.1
// Project: https://github.com/sindresorhus/gulp-filter
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
/// <reference types="node" />
import File = require('vinyl');
import * as Minimatch from 'minimatch';
declare namespace filter {
interface FileFunction {
(file: File): boolean;
}
interface Options extends Minimatch.IOptions {
restore?: boolean | undefined;
passthrough?: boolean | undefined;
}
// A transform stream with a .restore object
interface Filter extends NodeJS.ReadWriteStream {
restore: NodeJS.ReadWriteStream
}
}
declare function filter(pattern: string | string[] | filter.FileFunction, options?: filter.Options): filter.Filter;
export = filter;
Additional Details
- Last updated: Thu, 08 Jul 2021 12:02:37 GMT
- Dependencies: @types/vinyl, @types/minimatch, @types/node
- Global values: none
Credits
These definitions were written by Tanguy Krotoff.
3.0.38
7 months ago
3.0.39
6 months ago
3.0.37
8 months ago
3.0.36
1 year ago
3.0.35
1 year ago
3.0.34
3 years ago
3.0.33
6 years ago
3.0.32
6 years ago
3.0.31
7 years ago
3.0.30
7 years ago
3.0.29
8 years ago
3.0.28
8 years ago
3.0.27-alpha
8 years ago
3.0.26-alpha
8 years ago
3.0.25-alpha
8 years ago
3.0.24-alpha
8 years ago
3.0.23-alpha
8 years ago
3.0.22-alpha
8 years ago
3.0.21-alpha
8 years ago
3.0.16-alpha
8 years ago
3.0.15-alpha
8 years ago