Merge pull request #7786 from peterjuras/gulp-strip-debug

Add type definitions for gulp-strip-debug
This commit is contained in:
Horiuchi_H
2016-01-26 11:33:52 +09:00
2 changed files with 22 additions and 0 deletions
@@ -0,0 +1,12 @@
/// <reference path="gulp-strip-debug.d.ts" />
/// <reference path="../gulp/gulp.d.ts" />
import * as gulp from 'gulp';
import * as stripDebug from 'gulp-strip-debug';
// Example taken from https://www.npmjs.com/package/gulp-strip-debug
gulp.task('default', function () {
return gulp.src('src/app.js')
.pipe(stripDebug())
.pipe(gulp.dest('dist'));
});
+10
View File
@@ -0,0 +1,10 @@
// Type definitions for gulp-strip-debug v1.1.0
// Project: https://www.npmjs.com/package/gulp-strip-debug
// Definitions by: Peter Juras <https://github.com/peterjuras>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module "gulp-strip-debug" {
const gulpStripDebug : () => NodeJS.ReadWriteStream;
export = gulpStripDebug;
}