@types/css
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -10,3 +10,2 @@ // Type definitions for css | ||
/** | ||
@@ -30,12 +29,12 @@ * css.parse options | ||
compress?: boolean | undefined; | ||
/** Return a sourcemap along with the CSS output. | ||
* Using the source option of css.parse is strongly recommended | ||
* when creating a source map. Specify sourcemap: 'generator' | ||
* to return the SourceMapGenerator object instead of serializing the source map. | ||
/** Return a sourcemap along with the CSS output. | ||
* Using the source option of css.parse is strongly recommended | ||
* when creating a source map. Specify sourcemap: 'generator' | ||
* to return the SourceMapGenerator object instead of serializing the source map. | ||
*/ | ||
sourcemap?: string | undefined; | ||
/** (enabled by default, specify false to disable) | ||
* Reads any source maps referenced by the input files | ||
* when generating the output source map. When enabled, | ||
* file system access may be required for reading the referenced source maps. | ||
* Reads any source maps referenced by the input files | ||
* when generating the output source map. When enabled, | ||
* file system access may be required for reading the referenced source maps. | ||
*/ | ||
@@ -107,3 +106,3 @@ inputSourcemaps?: boolean | undefined; | ||
/** | ||
/** | ||
* A rule-level or declaration-level comment. Comments inside selectors, properties and values etc. are lost. | ||
@@ -115,4 +114,4 @@ */ | ||
/** | ||
* The @charset at-rule. | ||
/** | ||
* The @charset at-rule. | ||
*/ | ||
@@ -125,3 +124,3 @@ export interface Charset extends Node { | ||
/** | ||
* The @custom-media at-rule | ||
* The @custom-media at-rule | ||
*/ | ||
@@ -229,3 +228,14 @@ export interface CustomMedia extends Node { | ||
/** All at-rules. */ | ||
export type AtRule = Charset | CustomMedia | Document | FontFace | Host | Import | KeyFrames | Media | Namespace | Page | Supports; | ||
export type AtRule = | ||
| Charset | ||
| CustomMedia | ||
| Document | ||
| FontFace | ||
| Host | ||
| Import | ||
| KeyFrames | ||
| Media | ||
| Namespace | ||
| Page | ||
| Supports; | ||
@@ -239,7 +249,7 @@ /** | ||
/** Array of Errors. Errors collected during parsing when option silent is true. */ | ||
parsingErrors?: Array<ParserError> | undefined | ||
parsingErrors?: Array<ParserError> | undefined; | ||
} | ||
/** | ||
* The root node returned by css.parse. | ||
/** | ||
* The root node returned by css.parse. | ||
*/ | ||
@@ -254,3 +264,3 @@ export interface Stylesheet extends Node { | ||
* Accepts a CSS string and returns an AST object. | ||
* | ||
* | ||
* @param {string} code - CSS code. | ||
@@ -264,3 +274,3 @@ * @param {ParserOptions} options - CSS parser options. | ||
* Accepts an AST object (as css.parse produces) and returns a CSS string. | ||
* | ||
* | ||
* @param {Stylesheet} stylesheet - AST tree. | ||
@@ -267,0 +277,0 @@ * @param {StringifyOptions} options - AST tree to string serializaiton options. |
{ | ||
"name": "@types/css", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"description": "TypeScript definitions for css", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "761d175d5ad3ec3059c653b0b89a28ec89abf5843d3ec63541750c30ef245742", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "2497592ce33adea309d26c2c3be407cb0b73cd9c812ce5104ed06e26785a34d3", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 09 Jul 2021 02:32:24 GMT | ||
* Last updated: Mon, 04 Sep 2023 15:41:29 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
10880
243