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
This commit is contained in:
vote539
2015-07-03 16:05:38 -07:00
parent ab3cc82066
commit 1c19445106
+1
View File
@@ -43,6 +43,7 @@ declare module Stylus {
* Expose middleware.
*/
middleware(dir: string): Middleware;
middleware(options: any): Middleware;
/**
* Convert the given `css` to `stylus` source.