mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
fix import
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/// <reference path="./gulp-autoprefixer.d.ts"/>
|
||||
/// <reference path="../gulp/gulp.d.ts"/>
|
||||
import gulp = require("gulp");
|
||||
import autoprefixer = require("gulp-autoprefixer");
|
||||
import * as gulp from "gulp";
|
||||
import * as autoprefixer from "gulp-autoprefixer";
|
||||
|
||||
gulp.src("test.css")
|
||||
.pipe(autoprefixer())
|
||||
@@ -17,4 +17,4 @@ gulp.src("test.css")
|
||||
|
||||
gulp.src("test.css")
|
||||
.pipe(autoprefixer({remove: false}))
|
||||
.pipe(gulp.dest("build"));
|
||||
.pipe(gulp.dest("build"));
|
||||
|
||||
+2
@@ -14,5 +14,7 @@ declare module "gulp-autoprefixer" {
|
||||
|
||||
function autoPrefixer(opts?: Options): NodeJS.ReadWriteStream;
|
||||
|
||||
namespace autoPrefixer {}
|
||||
|
||||
export = autoPrefixer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user