mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-25 10:12:52 +00:00
* Types for "gulp-tap" added * Types for "gulp-tap" added * Requested changes applied * Requested changes applied
23 lines
578 B
TypeScript
23 lines
578 B
TypeScript
// Type definitions for gulp-tap 1.0
|
|
// Project: https://github.com/geejs/gulp-tap
|
|
// Definitions by: Takesi Tokugawa <https://github.com/TokugawaTakesi>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <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;
|