mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
fix import
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/// <reference path="gulp-minify-html.d.ts" />
|
||||
/// <reference path="../gulp/gulp.d.ts" />
|
||||
|
||||
import gulp = require('gulp');
|
||||
import minifyHtml = require('gulp-minify-html');
|
||||
import * as gulp from 'gulp';
|
||||
import * as minifyHtml from 'gulp-minify-html';
|
||||
|
||||
minifyHtml();
|
||||
minifyHtml({conditionals: true, loose: true});
|
||||
|
||||
2
gulp-minify-html/gulp-minify-html.d.ts
vendored
2
gulp-minify-html/gulp-minify-html.d.ts
vendored
@@ -31,5 +31,7 @@ declare module 'gulp-minify-html' {
|
||||
|
||||
function minifyHtml(options?: IOptions): NodeJS.ReadWriteStream;
|
||||
|
||||
namespace minifyHtml {}
|
||||
|
||||
export = minifyHtml;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user