Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / dom-serializer / node_modules / domelementtype / lib / index.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts
new file mode 100644 (file)
index 0000000..a61d346
--- /dev/null
@@ -0,0 +1,28 @@
+/** Types of elements found in the DOM */
+export declare const enum ElementType {
+    Text = "text",
+    Directive = "directive",
+    Comment = "comment",
+    Script = "script",
+    Style = "style",
+    Tag = "tag",
+    CDATA = "cdata",
+    Doctype = "doctype"
+}
+/**
+ * Tests whether an element is a tag or not.
+ *
+ * @param elem Element to test
+ */
+export declare function isTag(elem: {
+    type: ElementType;
+}): boolean;
+export declare const Text = ElementType.Text;
+export declare const Directive = ElementType.Directive;
+export declare const Comment = ElementType.Comment;
+export declare const Script = ElementType.Script;
+export declare const Style = ElementType.Style;
+export declare const Tag = ElementType.Tag;
+export declare const CDATA = ElementType.CDATA;
+export declare const Doctype = ElementType.Doctype;
+//# sourceMappingURL=index.d.ts.map
\ No newline at end of file