"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
+exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = void 0;
/**
* Tests whether an element is a tag or not.
*
}
exports.isTag = isTag;
// Exports for backwards compatibility
-exports.Text = "text" /* Text */; //Text
-exports.Directive = "directive" /* Directive */; //<? ... ?>
-exports.Comment = "comment" /* Comment */; //<!-- ... -->
-exports.Script = "script" /* Script */; //<script> tags
-exports.Style = "style" /* Style */; //<style> tags
-exports.Tag = "tag" /* Tag */; //Any tag
-exports.CDATA = "cdata" /* CDATA */; //<![CDATA[ ... ]]>
+/** Type for the root element of a document */
+exports.Root = "root" /* Root */;
+/** Type for Text */
+exports.Text = "text" /* Text */;
+/** Type for <? ... ?> */
+exports.Directive = "directive" /* Directive */;
+/** Type for <!-- ... --> */
+exports.Comment = "comment" /* Comment */;
+/** Type for <script> tags */
+exports.Script = "script" /* Script */;
+/** Type for <style> tags */
+exports.Style = "style" /* Style */;
+/** Type for Any tag */
+exports.Tag = "tag" /* Tag */;
+/** Type for <![CDATA[ ... ]]> */
+exports.CDATA = "cdata" /* CDATA */;
+/** Type for <!doctype ...> */
exports.Doctype = "doctype" /* Doctype */;