@types/stylus
Advanced tools
Comparing version 0.48.37 to 0.48.38
// Type definitions for stylus 0.48 | ||
// Project: https://github.com/stylus/stylus | ||
// Definitions by: Maxime LUCE <https://github.com/SomaticIT> | ||
// Daniel Moore <https://github.com/STRd6> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -16,3 +17,3 @@ // TypeScript Version: 2.2 | ||
declare namespace stylus { | ||
declare namespace stylus { | ||
interface RenderOptions { | ||
@@ -75,3 +76,6 @@ globals?: Stylus.Dictionary<any> | undefined; | ||
* Render the given `str` with `options` and callback `fn(err, css)`. | ||
* Returns the rendered string if no callback is given. | ||
*/ | ||
render(str: string): string; | ||
render(str: string, options: stylus.RenderOptions): string; | ||
render(str: string, callback: stylus.RenderCallback): void; | ||
@@ -78,0 +82,0 @@ render(str: string, options: stylus.RenderOptions, callback: stylus.RenderCallback): void; |
{ | ||
"name": "@types/stylus", | ||
"version": "0.48.37", | ||
"version": "0.48.38", | ||
"description": "TypeScript definitions for stylus", | ||
@@ -12,2 +12,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stylus", | ||
"githubUsername": "SomaticIT" | ||
}, | ||
{ | ||
"name": "Daniel Moore", | ||
"url": "https://github.com/STRd6", | ||
"githubUsername": "STRd6" | ||
} | ||
@@ -26,4 +31,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "ad1ce36487e3496de2663310026ff81ccdf489428287fa7a3347a7be56187af0", | ||
"typesPublisherContentHash": "9857279c60d69b29be665c80cfb5f91619d82f9e3cb95348455081db06f59c8f", | ||
"typeScriptVersion": "3.9" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 28 Mar 2022 16:01:45 GMT | ||
* Last updated: Wed, 11 May 2022 00:01:38 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by [Maxime LUCE](https://github.com/SomaticIT). | ||
These definitions were written by [Maxime LUCE](https://github.com/SomaticIT), and [Daniel Moore](https://github.com/STRd6). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47060
1172