This commit is contained in:
Tanguy Krotoff 2015-07-06 14:26:28 +02:00
parent c2a9eb74ce
commit a0cf73c965
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,14 @@
/// <reference path="gulp-debug.d.ts" />
/// <reference path="../gulp/gulp.d.ts" />
import gulp = require('gulp');
import debug = require('gulp-debug');
gulp.task('default', () =>
gulp.src('foo.js')
.pipe(debug({title: 'unicorn:'}))
.pipe(gulp.dest('dist'))
);
debug();

17
gulp-debug/gulp-debug.d.ts vendored Normal file
View File

@ -0,0 +1,17 @@
// Type definitions for gulp-debug v2.0.1
// Project: https://github.com/sindresorhus/gulp-debug
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module 'gulp-debug' {
interface IOptions {
title?: string;
minimal?: boolean;
}
function debug(options?: IOptions): NodeJS.ReadWriteStream;
export = debug;
}