diff --git a/gulp-htmlmin/gulp-htmlmin-tests.ts b/gulp-htmlmin/gulp-htmlmin-tests.ts
new file mode 100644
index 000000000..78149e787
--- /dev/null
+++ b/gulp-htmlmin/gulp-htmlmin-tests.ts
@@ -0,0 +1,11 @@
+///
+///
+
+import * as gulp from 'gulp';
+import * as htmlmin from 'gulp-htmlmin';
+
+gulp.task('minify', function() {
+ return gulp.src('src/*.html')
+ .pipe(htmlmin({collapseWhitespace: true}))
+ .pipe(gulp.dest('dist'))
+});
diff --git a/gulp-htmlmin/gulp-htmlmin.d.ts b/gulp-htmlmin/gulp-htmlmin.d.ts
new file mode 100644
index 000000000..2cf947d23
--- /dev/null
+++ b/gulp-htmlmin/gulp-htmlmin.d.ts
@@ -0,0 +1,18 @@
+// Type definitions for gulp-htmlmin v1.3.0
+// Project: https://github.com/jonschlinkert/gulp-htmlmin
+// Definitions by: Tanguy Krotoff
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+
+///
+///
+
+declare module 'gulp-htmlmin' {
+ import * as HTMLMinifier from 'html-minifier';
+
+ namespace htmlmin {
+ }
+
+ function htmlmin(options?: HTMLMinifier.Options): NodeJS.ReadWriteStream;
+
+ export = htmlmin;
+}