From 6d72f60cc0b9449caac11817ea9448c977f7793c Mon Sep 17 00:00:00 2001 From: LongYinan Date: Tue, 29 Dec 2015 21:53:03 +0800 Subject: [PATCH] Update gulp-watch.d.ts fix ``` import * as watch from 'gulp-watch' ``` fail --- gulp-watch/gulp-watch-tests.ts | 4 ++-- gulp-watch/gulp-watch.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gulp-watch/gulp-watch-tests.ts b/gulp-watch/gulp-watch-tests.ts index dd237dccc..d912199fd 100644 --- a/gulp-watch/gulp-watch-tests.ts +++ b/gulp-watch/gulp-watch-tests.ts @@ -1,8 +1,8 @@ /// /// -import gulp = require('gulp'); -import watch = require('gulp-watch'); +import * as gulp from 'gulp'; +import * as watch from 'gulp-watch'; gulp.task('stream', () => gulp.src('css/**/*.css') diff --git a/gulp-watch/gulp-watch.d.ts b/gulp-watch/gulp-watch.d.ts index 35fb7de95..74af52547 100644 --- a/gulp-watch/gulp-watch.d.ts +++ b/gulp-watch/gulp-watch.d.ts @@ -22,6 +22,6 @@ declare module 'gulp-watch' { } function watch(glob: string | Array, options?: IOptions, callback?: Function): IWatchStream; - + namespace watch {} export = watch; }