diff --git a/gulp-strip-debug/gulp-strip-debug-tests.ts b/gulp-strip-debug/gulp-strip-debug-tests.ts new file mode 100644 index 000000000..e6571b32f --- /dev/null +++ b/gulp-strip-debug/gulp-strip-debug-tests.ts @@ -0,0 +1,12 @@ +/// +/// + +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')); +}); diff --git a/gulp-strip-debug/gulp-strip-debug.d.ts b/gulp-strip-debug/gulp-strip-debug.d.ts new file mode 100644 index 000000000..782dea37b --- /dev/null +++ b/gulp-strip-debug/gulp-strip-debug.d.ts @@ -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 +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +/// + +declare module "gulp-strip-debug" { + const gulpStripDebug : () => NodeJS.ReadWriteStream; + export = gulpStripDebug; +}