Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / dom-serializer / node_modules / domelementtype / lib / index.d.ts
index a61d34698c00a46d5b29f12438abfe7d9d6b7af5..281aab324474adea410a219b9a2b614a5e673e2c 100644 (file)
@@ -1,12 +1,22 @@
-/** Types of elements found in the DOM */
+/** Types of elements found in htmlparser2's DOM */
 export declare const enum ElementType {
+    /** Type for the root element of a document */
+    Root = "root",
+    /** Type for Text */
     Text = "text",
+    /** Type for <? ... ?> */
     Directive = "directive",
+    /** Type for <!-- ... --> */
     Comment = "comment",
+    /** Type for <script> tags */
     Script = "script",
+    /** Type for <style> tags */
     Style = "style",
+    /** Type for Any tag */
     Tag = "tag",
+    /** Type for <![CDATA[ ... ]]> */
     CDATA = "cdata",
+    /** Type for <!doctype ...> */
     Doctype = "doctype"
 }
 /**
@@ -17,12 +27,22 @@ export declare const enum ElementType {
 export declare function isTag(elem: {
     type: ElementType;
 }): boolean;
+/** Type for the root element of a document */
+export declare const Root = ElementType.Root;
+/** Type for Text */
 export declare const Text = ElementType.Text;
+/** Type for <? ... ?> */
 export declare const Directive = ElementType.Directive;
+/** Type for <!-- ... --> */
 export declare const Comment = ElementType.Comment;
+/** Type for <script> tags */
 export declare const Script = ElementType.Script;
+/** Type for <style> tags */
 export declare const Style = ElementType.Style;
+/** Type for Any tag */
 export declare const Tag = ElementType.Tag;
+/** Type for <![CDATA[ ... ]]> */
 export declare const CDATA = ElementType.CDATA;
+/** Type for <!doctype ...> */
 export declare const Doctype = ElementType.Doctype;
 //# sourceMappingURL=index.d.ts.map
\ No newline at end of file