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-flatten.d.ts" />
|
||||
/// <reference path="../gulp/gulp.d.ts" />
|
||||
|
||||
import gulp = require("gulp");
|
||||
import flatten = require("gulp-flatten");
|
||||
import * as gulp from "gulp";
|
||||
import * as flatten from "gulp-flatten";
|
||||
|
||||
gulp.task("flatten:simple", () => {
|
||||
gulp.src(["files/**/*.txt"])
|
||||
|
||||
2
gulp-flatten/gulp-flatten.d.ts
vendored
2
gulp-flatten/gulp-flatten.d.ts
vendored
@@ -13,5 +13,7 @@ declare module "gulp-flatten" {
|
||||
|
||||
function flatten(options?: IOptions): NodeJS.ReadWriteStream;
|
||||
|
||||
namespace flatten {}
|
||||
|
||||
export = flatten;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user