@markuplint/ml-ast
Advanced tools
Comparing version 3.0.0-alpha.2 to 3.0.0-alpha.3
@@ -119,4 +119,23 @@ export interface MLToken { | ||
*/ | ||
endTag?: 'xml' | 'omittable' | 'never'; | ||
endTag?: EndTagType; | ||
/** | ||
* Detect value as a true if its attribute is booleanish value and omitted. | ||
* | ||
* Ex: | ||
* ```jsx | ||
* <Component aria-hidden /> | ||
* ``` | ||
* | ||
* In the above, the `aria-hidden` is `true`. | ||
*/ | ||
booleanish?: boolean; | ||
} | ||
/** | ||
* The end tag omittable type. | ||
* | ||
* - `"xml"`: Must need an end tag or must self-close | ||
* - `"omittable"`: May omit | ||
* - `"never"`: Never need | ||
*/ | ||
export declare type EndTagType = 'xml' | 'omittable' | 'never'; | ||
export declare type ParserOptions = { | ||
@@ -123,0 +142,0 @@ ignoreFrontMatter?: boolean; |
{ | ||
"name": "@markuplint/ml-ast", | ||
"version": "3.0.0-alpha.2", | ||
"version": "3.0.0-alpha.3", | ||
"description": "The markuplint AST types.", | ||
@@ -18,3 +18,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
}, | ||
"gitHead": "830bf8187b81bf5ca2f5f09b6f85a98395a58bdb" | ||
"gitHead": "884b1a6a7385e86cca7796b0b927a886ee90140e" | ||
} |
Sorry, the diff of this file is not supported yet
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
59115
159