mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +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:
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