npm.io
1.0.5 • Published 2 years ago

@types/gulp-tap

Licence
MIT
Version
1.0.5
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

/// <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

Credits

These definitions were written by .