@types/csso
Advanced tools
Comparing version 3.5.2 to 4.2.0
@@ -1,8 +0,7 @@ | ||
// Type definitions for csso 3.5 | ||
// Type definitions for csso 4.2 | ||
// Project: https://github.com/css/csso | ||
// Definitions by: Christian Rackerseder <https://github.com/screendriver> | ||
// Erik Källén <https://github.com/erik-kallen> | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.7 | ||
import * as csstree from 'css-tree'; | ||
@@ -101,2 +100,3 @@ | ||
interface Csso { | ||
readonly version: string; | ||
/** | ||
@@ -116,8 +116,8 @@ * Minify source CSS passed as String | ||
/** | ||
* Does the main task – compress an AST. | ||
*/ | ||
compress(ast: csstree.CssNode, options?: csso.CompressOptions): { ast: csstree.CssNode }; | ||
syntax: typeof csstree; | ||
syntax: typeof csstree & { | ||
/** | ||
* Does the main task – compress an AST. | ||
*/ | ||
compress(ast: csstree.CssNode, options?: csso.CompressOptions): { ast: csstree.CssNode }; | ||
}; | ||
} | ||
@@ -124,0 +124,0 @@ |
{ | ||
"name": "@types/csso", | ||
"version": "3.5.2", | ||
"version": "4.2.0", | ||
"description": "TypeScript definitions for csso", | ||
@@ -17,2 +17,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/csso", | ||
"githubUsername": "erik-kallen" | ||
}, | ||
{ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
} | ||
@@ -31,4 +36,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "7c55f612df6b984e0bef19328518a6dc8dba85e1a853814c6c4497eb6c8953ee", | ||
"typesPublisherContentHash": "0d0a63f65b15de5b41153067dbaee7411b501b6addb94b1414227c65b1de4967", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 20:32:35 GMT | ||
* Last updated: Tue, 13 Jul 2021 21:01:22 GMT | ||
* Dependencies: [@types/css-tree](https://npmjs.com/package/@types/css-tree) | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by [Christian Rackerseder](https://github.com/screendriver), and [Erik Källén](https://github.com/erik-kallen). | ||
These definitions were written by [Christian Rackerseder](https://github.com/screendriver), [Erik Källén](https://github.com/erik-kallen), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). |
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
6869
115