@types/gulp-tap
Version:
TypeScript definitions for gulp-tap
37 lines (26 loc) • 1.01 kB
Markdown
# Installation
> `npm install --save @types/gulp-tap`
# Summary
This package contains type definitions for gulp-tap (https://github.com/geejs/gulp-tap).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-tap.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-tap/index.d.ts)
````ts
/// <reference types="node" />
import Vinyl = require("vinyl");
declare namespace tap {
interface Tap {
(tapFunction: TapFunction, t?: any): NodeJS.ReadWriteStream;
}
interface TapFunction {
(file: Vinyl): any;
}
}
declare function tap(tapFunction: (file: Vinyl, t?: {}) => void): NodeJS.ReadWriteStream;
export = tap;
````
### 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 .