a61d34698c00a46d5b29f12438abfe7d9d6b7af5
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / dom-serializer / node_modules / domelementtype / lib / index.d.ts
1 /** Types of elements found in the DOM */
2 export declare const enum ElementType {
3     Text = "text",
4     Directive = "directive",
5     Comment = "comment",
6     Script = "script",
7     Style = "style",
8     Tag = "tag",
9     CDATA = "cdata",
10     Doctype = "doctype"
11 }
12 /**
13  * Tests whether an element is a tag or not.
14  *
15  * @param elem Element to test
16  */
17 export declare function isTag(elem: {
18     type: ElementType;
19 }): boolean;
20 export declare const Text = ElementType.Text;
21 export declare const Directive = ElementType.Directive;
22 export declare const Comment = ElementType.Comment;
23 export declare const Script = ElementType.Script;
24 export declare const Style = ElementType.Style;
25 export declare const Tag = ElementType.Tag;
26 export declare const CDATA = ElementType.CDATA;
27 export declare const Doctype = ElementType.Doctype;
28 //# sourceMappingURL=index.d.ts.map