mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
23 lines
576 B
TypeScript
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;
|