From 1c19445106678aa3296f993f2dc0aa15a034fa5a Mon Sep 17 00:00:00 2001 From: vote539 Date: Fri, 3 Jul 2015 16:05:38 -0700 Subject: [PATCH] Update stylus.d.ts The Stylus "middleware" function accepts either a string or an options hash as its argument. See https://github.com/stylus/stylus/blob/master/lib/middleware.js#L86 --- stylus/stylus.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/stylus/stylus.d.ts b/stylus/stylus.d.ts index d6fd6ef5b..5809570b9 100644 --- a/stylus/stylus.d.ts +++ b/stylus/stylus.d.ts @@ -43,6 +43,7 @@ declare module Stylus { * Expose middleware. */ middleware(dir: string): Middleware; + middleware(options: any): Middleware; /** * Convert the given `css` to `stylus` source.