DefinitelyTyped/types/gulp-intercept/index.d.ts
2019-03-29 17:35:26 -07:00

23 lines
576 B
TypeScript

// Type definitions for gulp-intercept 0.1
// Project: https://github.com/khilnani/gulp-intercept
// Definitions by: Takesi Tokugawa <https://github.com/TokugawaTakesi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <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;