Options should be inside the namespace

This commit is contained in:
Tanguy Krotoff
2016-01-15 02:45:07 +01:00
parent d1f6bde13f
commit 1e3e963bf5
+7 -7
View File
@@ -6,15 +6,15 @@
/// <reference path="../node/node.d.ts"/>
declare module "gulp-autoprefixer" {
interface Options {
browsers?: string[];
cascade?: boolean;
remove?: boolean;
namespace autoPrefixer {
interface Options {
browsers?: string[];
cascade?: boolean;
remove?: boolean;
}
}
function autoPrefixer(opts?: Options): NodeJS.ReadWriteStream;
namespace autoPrefixer {}
function autoPrefixer(opts?: autoPrefixer.Options): NodeJS.ReadWriteStream;
export = autoPrefixer;
}