mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
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:
1 parent
ab3cc82066
commit
1c19445106
1 file changed
+1
Vendored
+1
@@ -43,6 +43,7 @@ declare module Stylus {
|
||||
* Expose middleware.
|
||||
*/
|
||||
middleware(dir: string): Middleware;
|
||||
middleware(options: any): Middleware;
|
||||
|
||||
/**
|
||||
* Convert the given `css` to `stylus` source.
|
||||
|
||||
Reference in new issue
Block a user