@types/gulp-intercept
Version:
TypeScript definitions for gulp-intercept
37 lines (26 loc) • 1.02 kB
Markdown
# Installation
> `npm install --save @types/gulp-intercept`
# Summary
This package contains type definitions for gulp-intercept (https://github.com/khilnani/gulp-intercept).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-intercept.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-intercept/index.d.ts)
````ts
/// <reference types="node" />
import Vinyl = require("vinyl");
declare namespace intercept {
interface Intercept {
(interceptFunction: InterceptFunction): NodeJS.ReadWriteStream;
}
interface InterceptFunction {
(file: Vinyl): Vinyl;
}
}
declare var intercept: intercept.Intercept;
export = intercept;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 03:09:37 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/vinyl](https://npmjs.com/package/@types/vinyl)
# Credits
These definitions were written by .