diff --git a/types/gulp-stylus/index.d.ts b/types/gulp-stylus/index.d.ts index 0466fec6b6..eb553ca315 100644 --- a/types/gulp-stylus/index.d.ts +++ b/types/gulp-stylus/index.d.ts @@ -5,11 +5,9 @@ /// -interface GulpStylus { - (options?: GulpStylus.Options): NodeJS.ReadWriteStream; -} +declare function gulpStylus(options?: gulpStylus.Options): NodeJS.ReadWriteStream; -declare namespace GulpStylus { +declare namespace gulpStylus { interface Options { compress?: boolean; linenos?: boolean; @@ -20,5 +18,4 @@ declare namespace GulpStylus { } } -declare var gulpStylus: GulpStylus; export = gulpStylus;