// THIS FILE IS AUTO-GENERATED, DO NOT MODIFY. // See ./scripts/tag-generator.mts to make changes. import { HTMLDocument, VoidBaseHTMLElement, Doctype, createHTMLElement } from "./html_element.js" import type { ATTRIBUTE_MAP } from "./attributes.js" import type { ELEMENT_MAP } from "./elements.js" import type { CHILDREN_MAP } from "./content_categories.js" function documentElement(doctype: Doctype, ...children: Array): HTMLDocument { return new HTMLDocument(doctype, ...children); } function doctypeElement(): Doctype { return new Doctype(); } function aElement(attributes: ATTRIBUTE_MAP["a"], ...children: Array): ELEMENT_MAP["a"]; function aElement( attrsOrChild: ATTRIBUTE_MAP["a"] | CHILDREN_MAP["a"] | Array, ...children: Array ): ELEMENT_MAP["a"] { return createHTMLElement<"a", ATTRIBUTE_MAP["a"], CHILDREN_MAP["a"]>( "a", attrsOrChild, children, ); } function abbrElement(...children: Array): ELEMENT_MAP["abbr"]; function abbrElement(attributes: ATTRIBUTE_MAP["abbr"], ...children: Array): ELEMENT_MAP["abbr"]; function abbrElement( attrsOrChild: ATTRIBUTE_MAP["abbr"] | CHILDREN_MAP["abbr"] | Array, ...children: Array ): ELEMENT_MAP["abbr"] { return createHTMLElement<"abbr", ATTRIBUTE_MAP["abbr"], CHILDREN_MAP["abbr"]>( "abbr", attrsOrChild, children, ); } function addressElement(...children: Array): ELEMENT_MAP["address"]; function addressElement(attributes: ATTRIBUTE_MAP["address"], ...children: Array): ELEMENT_MAP["address"]; function addressElement( attrsOrChild: ATTRIBUTE_MAP["address"] | CHILDREN_MAP["address"] | Array, ...children: Array ): ELEMENT_MAP["address"] { return createHTMLElement<"address", ATTRIBUTE_MAP["address"], CHILDREN_MAP["address"]>( "address", attrsOrChild, children, ); } function areaElement(attrs: ATTRIBUTE_MAP["area"]): ELEMENT_MAP["area"] { return new VoidBaseHTMLElement("area", attrs); } function articleElement(...children: Array): ELEMENT_MAP["article"]; function articleElement(attributes: ATTRIBUTE_MAP["article"], ...children: Array): ELEMENT_MAP["article"]; function articleElement( attrsOrChild: ATTRIBUTE_MAP["article"] | CHILDREN_MAP["article"] | Array, ...children: Array ): ELEMENT_MAP["article"] { return createHTMLElement<"article", ATTRIBUTE_MAP["article"], CHILDREN_MAP["article"]>( "article", attrsOrChild, children, ); } function asideElement(...children: Array): ELEMENT_MAP["aside"]; function asideElement(attributes: ATTRIBUTE_MAP["aside"], ...children: Array): ELEMENT_MAP["aside"]; function asideElement( attrsOrChild: ATTRIBUTE_MAP["aside"] | CHILDREN_MAP["aside"] | Array, ...children: Array ): ELEMENT_MAP["aside"] { return createHTMLElement<"aside", ATTRIBUTE_MAP["aside"], CHILDREN_MAP["aside"]>( "aside", attrsOrChild, children, ); } function audioElement(...children: Array): ELEMENT_MAP["audio"]; function audioElement(attributes: ATTRIBUTE_MAP["audio"], ...children: Array): ELEMENT_MAP["audio"]; function audioElement( attrsOrChild: ATTRIBUTE_MAP["audio"] | CHILDREN_MAP["audio"] | Array, ...children: Array ): ELEMENT_MAP["audio"] { return createHTMLElement<"audio", ATTRIBUTE_MAP["audio"], CHILDREN_MAP["audio"]>( "audio", attrsOrChild, children, ); } function bElement(...children: Array): ELEMENT_MAP["b"]; function bElement(attributes: ATTRIBUTE_MAP["b"], ...children: Array): ELEMENT_MAP["b"]; function bElement( attrsOrChild: ATTRIBUTE_MAP["b"] | CHILDREN_MAP["b"] | Array, ...children: Array ): ELEMENT_MAP["b"] { return createHTMLElement<"b", ATTRIBUTE_MAP["b"], CHILDREN_MAP["b"]>( "b", attrsOrChild, children, ); } function baseElement(attrs: ATTRIBUTE_MAP["base"]): ELEMENT_MAP["base"] { return new VoidBaseHTMLElement("base", attrs); } function bdiElement(...children: Array): ELEMENT_MAP["bdi"]; function bdiElement(attributes: ATTRIBUTE_MAP["bdi"], ...children: Array): ELEMENT_MAP["bdi"]; function bdiElement( attrsOrChild: ATTRIBUTE_MAP["bdi"] | CHILDREN_MAP["bdi"] | Array, ...children: Array ): ELEMENT_MAP["bdi"] { return createHTMLElement<"bdi", ATTRIBUTE_MAP["bdi"], CHILDREN_MAP["bdi"]>( "bdi", attrsOrChild, children, ); } function bdoElement(...children: Array): ELEMENT_MAP["bdo"]; function bdoElement(attributes: ATTRIBUTE_MAP["bdo"], ...children: Array): ELEMENT_MAP["bdo"]; function bdoElement( attrsOrChild: ATTRIBUTE_MAP["bdo"] | CHILDREN_MAP["bdo"] | Array, ...children: Array ): ELEMENT_MAP["bdo"] { return createHTMLElement<"bdo", ATTRIBUTE_MAP["bdo"], CHILDREN_MAP["bdo"]>( "bdo", attrsOrChild, children, ); } function blockquoteElement(...children: Array): ELEMENT_MAP["blockquote"]; function blockquoteElement(attributes: ATTRIBUTE_MAP["blockquote"], ...children: Array): ELEMENT_MAP["blockquote"]; function blockquoteElement( attrsOrChild: ATTRIBUTE_MAP["blockquote"] | CHILDREN_MAP["blockquote"] | Array, ...children: Array ): ELEMENT_MAP["blockquote"] { return createHTMLElement<"blockquote", ATTRIBUTE_MAP["blockquote"], CHILDREN_MAP["blockquote"]>( "blockquote", attrsOrChild, children, ); } function bodyElement(...children: Array): ELEMENT_MAP["body"]; function bodyElement(attributes: ATTRIBUTE_MAP["body"], ...children: Array): ELEMENT_MAP["body"]; function bodyElement( attrsOrChild: ATTRIBUTE_MAP["body"] | CHILDREN_MAP["body"] | Array, ...children: Array ): ELEMENT_MAP["body"] { return createHTMLElement<"body", ATTRIBUTE_MAP["body"], CHILDREN_MAP["body"]>( "body", attrsOrChild, children, ); } function brElement(attrs: ATTRIBUTE_MAP["br"]): ELEMENT_MAP["br"] { return new VoidBaseHTMLElement("br", attrs); } function buttonElement(...children: Array): ELEMENT_MAP["button"]; function buttonElement(attributes: ATTRIBUTE_MAP["button"], ...children: Array): ELEMENT_MAP["button"]; function buttonElement( attrsOrChild: ATTRIBUTE_MAP["button"] | CHILDREN_MAP["button"] | Array, ...children: Array ): ELEMENT_MAP["button"] { return createHTMLElement<"button", ATTRIBUTE_MAP["button"], CHILDREN_MAP["button"]>( "button", attrsOrChild, children, ); } function canvasElement(...children: Array): ELEMENT_MAP["canvas"]; function canvasElement(attributes: ATTRIBUTE_MAP["canvas"], ...children: Array): ELEMENT_MAP["canvas"]; function canvasElement( attrsOrChild: ATTRIBUTE_MAP["canvas"] | CHILDREN_MAP["canvas"] | Array, ...children: Array ): ELEMENT_MAP["canvas"] { return createHTMLElement<"canvas", ATTRIBUTE_MAP["canvas"], CHILDREN_MAP["canvas"]>( "canvas", attrsOrChild, children, ); } function captionElement(...children: Array): ELEMENT_MAP["caption"]; function captionElement(attributes: ATTRIBUTE_MAP["caption"], ...children: Array): ELEMENT_MAP["caption"]; function captionElement( attrsOrChild: ATTRIBUTE_MAP["caption"] | CHILDREN_MAP["caption"] | Array, ...children: Array ): ELEMENT_MAP["caption"] { return createHTMLElement<"caption", ATTRIBUTE_MAP["caption"], CHILDREN_MAP["caption"]>( "caption", attrsOrChild, children, ); } function citeElement(...children: Array): ELEMENT_MAP["cite"]; function citeElement(attributes: ATTRIBUTE_MAP["cite"], ...children: Array): ELEMENT_MAP["cite"]; function citeElement( attrsOrChild: ATTRIBUTE_MAP["cite"] | CHILDREN_MAP["cite"] | Array, ...children: Array ): ELEMENT_MAP["cite"] { return createHTMLElement<"cite", ATTRIBUTE_MAP["cite"], CHILDREN_MAP["cite"]>( "cite", attrsOrChild, children, ); } function codeElement(...children: Array): ELEMENT_MAP["code"]; function codeElement(attributes: ATTRIBUTE_MAP["code"], ...children: Array): ELEMENT_MAP["code"]; function codeElement( attrsOrChild: ATTRIBUTE_MAP["code"] | CHILDREN_MAP["code"] | Array, ...children: Array ): ELEMENT_MAP["code"] { return createHTMLElement<"code", ATTRIBUTE_MAP["code"], CHILDREN_MAP["code"]>( "code", attrsOrChild, children, ); } function colElement(attrs: ATTRIBUTE_MAP["col"]): ELEMENT_MAP["col"] { return new VoidBaseHTMLElement("col", attrs); } function colgroupElement(...children: Array): ELEMENT_MAP["colgroup"]; function colgroupElement(attributes: ATTRIBUTE_MAP["colgroup"], ...children: Array): ELEMENT_MAP["colgroup"]; function colgroupElement( attrsOrChild: ATTRIBUTE_MAP["colgroup"] | CHILDREN_MAP["colgroup"] | Array, ...children: Array ): ELEMENT_MAP["colgroup"] { return createHTMLElement<"colgroup", ATTRIBUTE_MAP["colgroup"], CHILDREN_MAP["colgroup"]>( "colgroup", attrsOrChild, children, ); } function dataElement(...children: Array): ELEMENT_MAP["data"]; function dataElement(attributes: ATTRIBUTE_MAP["data"], ...children: Array): ELEMENT_MAP["data"]; function dataElement( attrsOrChild: ATTRIBUTE_MAP["data"] | CHILDREN_MAP["data"] | Array, ...children: Array ): ELEMENT_MAP["data"] { return createHTMLElement<"data", ATTRIBUTE_MAP["data"], CHILDREN_MAP["data"]>( "data", attrsOrChild, children, ); } function datalistElement(...children: Array): ELEMENT_MAP["datalist"]; function datalistElement(attributes: ATTRIBUTE_MAP["datalist"], ...children: Array): ELEMENT_MAP["datalist"]; function datalistElement( attrsOrChild: ATTRIBUTE_MAP["datalist"] | CHILDREN_MAP["datalist"] | Array, ...children: Array ): ELEMENT_MAP["datalist"] { return createHTMLElement<"datalist", ATTRIBUTE_MAP["datalist"], CHILDREN_MAP["datalist"]>( "datalist", attrsOrChild, children, ); } function ddElement(...children: Array): ELEMENT_MAP["dd"]; function ddElement(attributes: ATTRIBUTE_MAP["dd"], ...children: Array): ELEMENT_MAP["dd"]; function ddElement( attrsOrChild: ATTRIBUTE_MAP["dd"] | CHILDREN_MAP["dd"] | Array, ...children: Array ): ELEMENT_MAP["dd"] { return createHTMLElement<"dd", ATTRIBUTE_MAP["dd"], CHILDREN_MAP["dd"]>( "dd", attrsOrChild, children, ); } function delElement(...children: Array): ELEMENT_MAP["del"]; function delElement(attributes: ATTRIBUTE_MAP["del"], ...children: Array): ELEMENT_MAP["del"]; function delElement( attrsOrChild: ATTRIBUTE_MAP["del"] | CHILDREN_MAP["del"] | Array, ...children: Array ): ELEMENT_MAP["del"] { return createHTMLElement<"del", ATTRIBUTE_MAP["del"], CHILDREN_MAP["del"]>( "del", attrsOrChild, children, ); } function detailsElement(...children: Array): ELEMENT_MAP["details"]; function detailsElement(attributes: ATTRIBUTE_MAP["details"], ...children: Array): ELEMENT_MAP["details"]; function detailsElement( attrsOrChild: ATTRIBUTE_MAP["details"] | CHILDREN_MAP["details"] | Array, ...children: Array ): ELEMENT_MAP["details"] { return createHTMLElement<"details", ATTRIBUTE_MAP["details"], CHILDREN_MAP["details"]>( "details", attrsOrChild, children, ); } function dfnElement(...children: Array): ELEMENT_MAP["dfn"]; function dfnElement(attributes: ATTRIBUTE_MAP["dfn"], ...children: Array): ELEMENT_MAP["dfn"]; function dfnElement( attrsOrChild: ATTRIBUTE_MAP["dfn"] | CHILDREN_MAP["dfn"] | Array, ...children: Array ): ELEMENT_MAP["dfn"] { return createHTMLElement<"dfn", ATTRIBUTE_MAP["dfn"], CHILDREN_MAP["dfn"]>( "dfn", attrsOrChild, children, ); } function dialogElement(...children: Array): ELEMENT_MAP["dialog"]; function dialogElement(attributes: ATTRIBUTE_MAP["dialog"], ...children: Array): ELEMENT_MAP["dialog"]; function dialogElement( attrsOrChild: ATTRIBUTE_MAP["dialog"] | CHILDREN_MAP["dialog"] | Array, ...children: Array ): ELEMENT_MAP["dialog"] { return createHTMLElement<"dialog", ATTRIBUTE_MAP["dialog"], CHILDREN_MAP["dialog"]>( "dialog", attrsOrChild, children, ); } function divElement(...children: Array): ELEMENT_MAP["div"]; function divElement(attributes: ATTRIBUTE_MAP["div"], ...children: Array): ELEMENT_MAP["div"]; function divElement( attrsOrChild: ATTRIBUTE_MAP["div"] | CHILDREN_MAP["div"] | Array, ...children: Array ): ELEMENT_MAP["div"] { return createHTMLElement<"div", ATTRIBUTE_MAP["div"], CHILDREN_MAP["div"]>( "div", attrsOrChild, children, ); } function dlElement(...children: Array): ELEMENT_MAP["dl"]; function dlElement(attributes: ATTRIBUTE_MAP["dl"], ...children: Array): ELEMENT_MAP["dl"]; function dlElement( attrsOrChild: ATTRIBUTE_MAP["dl"] | CHILDREN_MAP["dl"] | Array, ...children: Array ): ELEMENT_MAP["dl"] { return createHTMLElement<"dl", ATTRIBUTE_MAP["dl"], CHILDREN_MAP["dl"]>( "dl", attrsOrChild, children, ); } function dtElement(...children: Array): ELEMENT_MAP["dt"]; function dtElement(attributes: ATTRIBUTE_MAP["dt"], ...children: Array): ELEMENT_MAP["dt"]; function dtElement( attrsOrChild: ATTRIBUTE_MAP["dt"] | CHILDREN_MAP["dt"] | Array, ...children: Array ): ELEMENT_MAP["dt"] { return createHTMLElement<"dt", ATTRIBUTE_MAP["dt"], CHILDREN_MAP["dt"]>( "dt", attrsOrChild, children, ); } function emElement(...children: Array): ELEMENT_MAP["em"]; function emElement(attributes: ATTRIBUTE_MAP["em"], ...children: Array): ELEMENT_MAP["em"]; function emElement( attrsOrChild: ATTRIBUTE_MAP["em"] | CHILDREN_MAP["em"] | Array, ...children: Array ): ELEMENT_MAP["em"] { return createHTMLElement<"em", ATTRIBUTE_MAP["em"], CHILDREN_MAP["em"]>( "em", attrsOrChild, children, ); } function embedElement(attrs: ATTRIBUTE_MAP["embed"]): ELEMENT_MAP["embed"] { return new VoidBaseHTMLElement("embed", attrs); } function fieldsetElement(...children: Array): ELEMENT_MAP["fieldset"]; function fieldsetElement(attributes: ATTRIBUTE_MAP["fieldset"], ...children: Array): ELEMENT_MAP["fieldset"]; function fieldsetElement( attrsOrChild: ATTRIBUTE_MAP["fieldset"] | CHILDREN_MAP["fieldset"] | Array, ...children: Array ): ELEMENT_MAP["fieldset"] { return createHTMLElement<"fieldset", ATTRIBUTE_MAP["fieldset"], CHILDREN_MAP["fieldset"]>( "fieldset", attrsOrChild, children, ); } function figcaptionElement(...children: Array): ELEMENT_MAP["figcaption"]; function figcaptionElement(attributes: ATTRIBUTE_MAP["figcaption"], ...children: Array): ELEMENT_MAP["figcaption"]; function figcaptionElement( attrsOrChild: ATTRIBUTE_MAP["figcaption"] | CHILDREN_MAP["figcaption"] | Array, ...children: Array ): ELEMENT_MAP["figcaption"] { return createHTMLElement<"figcaption", ATTRIBUTE_MAP["figcaption"], CHILDREN_MAP["figcaption"]>( "figcaption", attrsOrChild, children, ); } function figureElement(...children: Array): ELEMENT_MAP["figure"]; function figureElement(attributes: ATTRIBUTE_MAP["figure"], ...children: Array): ELEMENT_MAP["figure"]; function figureElement( attrsOrChild: ATTRIBUTE_MAP["figure"] | CHILDREN_MAP["figure"] | Array, ...children: Array ): ELEMENT_MAP["figure"] { return createHTMLElement<"figure", ATTRIBUTE_MAP["figure"], CHILDREN_MAP["figure"]>( "figure", attrsOrChild, children, ); } function footerElement(...children: Array): ELEMENT_MAP["footer"]; function footerElement(attributes: ATTRIBUTE_MAP["footer"], ...children: Array): ELEMENT_MAP["footer"]; function footerElement( attrsOrChild: ATTRIBUTE_MAP["footer"] | CHILDREN_MAP["footer"] | Array, ...children: Array ): ELEMENT_MAP["footer"] { return createHTMLElement<"footer", ATTRIBUTE_MAP["footer"], CHILDREN_MAP["footer"]>( "footer", attrsOrChild, children, ); } function formElement(attributes: ATTRIBUTE_MAP["form"], ...children: Array): ELEMENT_MAP["form"]; function formElement( attrsOrChild: ATTRIBUTE_MAP["form"] | CHILDREN_MAP["form"] | Array, ...children: Array ): ELEMENT_MAP["form"] { return createHTMLElement<"form", ATTRIBUTE_MAP["form"], CHILDREN_MAP["form"]>( "form", attrsOrChild, children, ); } function h1Element(...children: Array): ELEMENT_MAP["h1"]; function h1Element(attributes: ATTRIBUTE_MAP["h1"], ...children: Array): ELEMENT_MAP["h1"]; function h1Element( attrsOrChild: ATTRIBUTE_MAP["h1"] | CHILDREN_MAP["h1"] | Array, ...children: Array ): ELEMENT_MAP["h1"] { return createHTMLElement<"h1", ATTRIBUTE_MAP["h1"], CHILDREN_MAP["h1"]>( "h1", attrsOrChild, children, ); } function h2Element(...children: Array): ELEMENT_MAP["h2"]; function h2Element(attributes: ATTRIBUTE_MAP["h2"], ...children: Array): ELEMENT_MAP["h2"]; function h2Element( attrsOrChild: ATTRIBUTE_MAP["h2"] | CHILDREN_MAP["h2"] | Array, ...children: Array ): ELEMENT_MAP["h2"] { return createHTMLElement<"h2", ATTRIBUTE_MAP["h2"], CHILDREN_MAP["h2"]>( "h2", attrsOrChild, children, ); } function h3Element(...children: Array): ELEMENT_MAP["h3"]; function h3Element(attributes: ATTRIBUTE_MAP["h3"], ...children: Array): ELEMENT_MAP["h3"]; function h3Element( attrsOrChild: ATTRIBUTE_MAP["h3"] | CHILDREN_MAP["h3"] | Array, ...children: Array ): ELEMENT_MAP["h3"] { return createHTMLElement<"h3", ATTRIBUTE_MAP["h3"], CHILDREN_MAP["h3"]>( "h3", attrsOrChild, children, ); } function h4Element(...children: Array): ELEMENT_MAP["h4"]; function h4Element(attributes: ATTRIBUTE_MAP["h4"], ...children: Array): ELEMENT_MAP["h4"]; function h4Element( attrsOrChild: ATTRIBUTE_MAP["h4"] | CHILDREN_MAP["h4"] | Array, ...children: Array ): ELEMENT_MAP["h4"] { return createHTMLElement<"h4", ATTRIBUTE_MAP["h4"], CHILDREN_MAP["h4"]>( "h4", attrsOrChild, children, ); } function h5Element(...children: Array): ELEMENT_MAP["h5"]; function h5Element(attributes: ATTRIBUTE_MAP["h5"], ...children: Array): ELEMENT_MAP["h5"]; function h5Element( attrsOrChild: ATTRIBUTE_MAP["h5"] | CHILDREN_MAP["h5"] | Array, ...children: Array ): ELEMENT_MAP["h5"] { return createHTMLElement<"h5", ATTRIBUTE_MAP["h5"], CHILDREN_MAP["h5"]>( "h5", attrsOrChild, children, ); } function h6Element(...children: Array): ELEMENT_MAP["h6"]; function h6Element(attributes: ATTRIBUTE_MAP["h6"], ...children: Array): ELEMENT_MAP["h6"]; function h6Element( attrsOrChild: ATTRIBUTE_MAP["h6"] | CHILDREN_MAP["h6"] | Array, ...children: Array ): ELEMENT_MAP["h6"] { return createHTMLElement<"h6", ATTRIBUTE_MAP["h6"], CHILDREN_MAP["h6"]>( "h6", attrsOrChild, children, ); } function headElement(...children: Array): ELEMENT_MAP["head"]; function headElement(attributes: ATTRIBUTE_MAP["head"], ...children: Array): ELEMENT_MAP["head"]; function headElement( attrsOrChild: ATTRIBUTE_MAP["head"] | CHILDREN_MAP["head"] | Array, ...children: Array ): ELEMENT_MAP["head"] { return createHTMLElement<"head", ATTRIBUTE_MAP["head"], CHILDREN_MAP["head"]>( "head", attrsOrChild, children, ); } function headerElement(...children: Array): ELEMENT_MAP["header"]; function headerElement(attributes: ATTRIBUTE_MAP["header"], ...children: Array): ELEMENT_MAP["header"]; function headerElement( attrsOrChild: ATTRIBUTE_MAP["header"] | CHILDREN_MAP["header"] | Array, ...children: Array ): ELEMENT_MAP["header"] { return createHTMLElement<"header", ATTRIBUTE_MAP["header"], CHILDREN_MAP["header"]>( "header", attrsOrChild, children, ); } function hgroupElement(...children: Array): ELEMENT_MAP["hgroup"]; function hgroupElement(attributes: ATTRIBUTE_MAP["hgroup"], ...children: Array): ELEMENT_MAP["hgroup"]; function hgroupElement( attrsOrChild: ATTRIBUTE_MAP["hgroup"] | CHILDREN_MAP["hgroup"] | Array, ...children: Array ): ELEMENT_MAP["hgroup"] { return createHTMLElement<"hgroup", ATTRIBUTE_MAP["hgroup"], CHILDREN_MAP["hgroup"]>( "hgroup", attrsOrChild, children, ); } function hrElement(attrs: ATTRIBUTE_MAP["hr"]): ELEMENT_MAP["hr"] { return new VoidBaseHTMLElement("hr", attrs); } function htmlElement(...children: Array): ELEMENT_MAP["html"]; function htmlElement(attributes: ATTRIBUTE_MAP["html"], ...children: Array): ELEMENT_MAP["html"]; function htmlElement( attrsOrChild: ATTRIBUTE_MAP["html"] | CHILDREN_MAP["html"] | Array, ...children: Array ): ELEMENT_MAP["html"] { return createHTMLElement<"html", ATTRIBUTE_MAP["html"], CHILDREN_MAP["html"]>( "html", attrsOrChild, children, ); } function iElement(...children: Array): ELEMENT_MAP["i"]; function iElement(attributes: ATTRIBUTE_MAP["i"], ...children: Array): ELEMENT_MAP["i"]; function iElement( attrsOrChild: ATTRIBUTE_MAP["i"] | CHILDREN_MAP["i"] | Array, ...children: Array ): ELEMENT_MAP["i"] { return createHTMLElement<"i", ATTRIBUTE_MAP["i"], CHILDREN_MAP["i"]>( "i", attrsOrChild, children, ); } function iframeElement(...children: Array): ELEMENT_MAP["iframe"]; function iframeElement(attributes: ATTRIBUTE_MAP["iframe"], ...children: Array): ELEMENT_MAP["iframe"]; function iframeElement( attrsOrChild: ATTRIBUTE_MAP["iframe"] | CHILDREN_MAP["iframe"] | Array, ...children: Array ): ELEMENT_MAP["iframe"] { return createHTMLElement<"iframe", ATTRIBUTE_MAP["iframe"], CHILDREN_MAP["iframe"]>( "iframe", attrsOrChild, children, ); } function imgElement(attrs: ATTRIBUTE_MAP["img"]): ELEMENT_MAP["img"] { return new VoidBaseHTMLElement("img", attrs); } function inputElement(attrs: ATTRIBUTE_MAP["input"]): ELEMENT_MAP["input"] { return new VoidBaseHTMLElement("input", attrs); } function insElement(...children: Array): ELEMENT_MAP["ins"]; function insElement(attributes: ATTRIBUTE_MAP["ins"], ...children: Array): ELEMENT_MAP["ins"]; function insElement( attrsOrChild: ATTRIBUTE_MAP["ins"] | CHILDREN_MAP["ins"] | Array, ...children: Array ): ELEMENT_MAP["ins"] { return createHTMLElement<"ins", ATTRIBUTE_MAP["ins"], CHILDREN_MAP["ins"]>( "ins", attrsOrChild, children, ); } function kbdElement(...children: Array): ELEMENT_MAP["kbd"]; function kbdElement(attributes: ATTRIBUTE_MAP["kbd"], ...children: Array): ELEMENT_MAP["kbd"]; function kbdElement( attrsOrChild: ATTRIBUTE_MAP["kbd"] | CHILDREN_MAP["kbd"] | Array, ...children: Array ): ELEMENT_MAP["kbd"] { return createHTMLElement<"kbd", ATTRIBUTE_MAP["kbd"], CHILDREN_MAP["kbd"]>( "kbd", attrsOrChild, children, ); } function labelElement(...children: Array): ELEMENT_MAP["label"]; function labelElement(attributes: ATTRIBUTE_MAP["label"], ...children: Array): ELEMENT_MAP["label"]; function labelElement( attrsOrChild: ATTRIBUTE_MAP["label"] | CHILDREN_MAP["label"] | Array, ...children: Array ): ELEMENT_MAP["label"] { return createHTMLElement<"label", ATTRIBUTE_MAP["label"], CHILDREN_MAP["label"]>( "label", attrsOrChild, children, ); } function legendElement(...children: Array): ELEMENT_MAP["legend"]; function legendElement(attributes: ATTRIBUTE_MAP["legend"], ...children: Array): ELEMENT_MAP["legend"]; function legendElement( attrsOrChild: ATTRIBUTE_MAP["legend"] | CHILDREN_MAP["legend"] | Array, ...children: Array ): ELEMENT_MAP["legend"] { return createHTMLElement<"legend", ATTRIBUTE_MAP["legend"], CHILDREN_MAP["legend"]>( "legend", attrsOrChild, children, ); } function liElement(...children: Array): ELEMENT_MAP["li"]; function liElement(attributes: ATTRIBUTE_MAP["li"], ...children: Array): ELEMENT_MAP["li"]; function liElement( attrsOrChild: ATTRIBUTE_MAP["li"] | CHILDREN_MAP["li"] | Array, ...children: Array ): ELEMENT_MAP["li"] { return createHTMLElement<"li", ATTRIBUTE_MAP["li"], CHILDREN_MAP["li"]>( "li", attrsOrChild, children, ); } function linkElement(attrs: ATTRIBUTE_MAP["link"]): ELEMENT_MAP["link"] { return new VoidBaseHTMLElement("link", attrs); } function mainElement(...children: Array): ELEMENT_MAP["main"]; function mainElement(attributes: ATTRIBUTE_MAP["main"], ...children: Array): ELEMENT_MAP["main"]; function mainElement( attrsOrChild: ATTRIBUTE_MAP["main"] | CHILDREN_MAP["main"] | Array, ...children: Array ): ELEMENT_MAP["main"] { return createHTMLElement<"main", ATTRIBUTE_MAP["main"], CHILDREN_MAP["main"]>( "main", attrsOrChild, children, ); } function mapElement(attributes: ATTRIBUTE_MAP["map"], ...children: Array): ELEMENT_MAP["map"]; function mapElement( attrsOrChild: ATTRIBUTE_MAP["map"] | CHILDREN_MAP["map"] | Array, ...children: Array ): ELEMENT_MAP["map"] { return createHTMLElement<"map", ATTRIBUTE_MAP["map"], CHILDREN_MAP["map"]>( "map", attrsOrChild, children, ); } function markElement(...children: Array): ELEMENT_MAP["mark"]; function markElement(attributes: ATTRIBUTE_MAP["mark"], ...children: Array): ELEMENT_MAP["mark"]; function markElement( attrsOrChild: ATTRIBUTE_MAP["mark"] | CHILDREN_MAP["mark"] | Array, ...children: Array ): ELEMENT_MAP["mark"] { return createHTMLElement<"mark", ATTRIBUTE_MAP["mark"], CHILDREN_MAP["mark"]>( "mark", attrsOrChild, children, ); } function mathElement(...children: Array): ELEMENT_MAP["math"]; function mathElement(attributes: ATTRIBUTE_MAP["math"], ...children: Array): ELEMENT_MAP["math"]; function mathElement( attrsOrChild: ATTRIBUTE_MAP["math"] | CHILDREN_MAP["math"] | Array, ...children: Array ): ELEMENT_MAP["math"] { return createHTMLElement<"math", ATTRIBUTE_MAP["math"], CHILDREN_MAP["math"]>( "math", attrsOrChild, children, ); } function menuElement(...children: Array): ELEMENT_MAP["menu"]; function menuElement(attributes: ATTRIBUTE_MAP["menu"], ...children: Array): ELEMENT_MAP["menu"]; function menuElement( attrsOrChild: ATTRIBUTE_MAP["menu"] | CHILDREN_MAP["menu"] | Array, ...children: Array ): ELEMENT_MAP["menu"] { return createHTMLElement<"menu", ATTRIBUTE_MAP["menu"], CHILDREN_MAP["menu"]>( "menu", attrsOrChild, children, ); } function metaElement(attrs: ATTRIBUTE_MAP["meta"]): ELEMENT_MAP["meta"] { return new VoidBaseHTMLElement("meta", attrs); } function meterElement(...children: Array): ELEMENT_MAP["meter"]; function meterElement(attributes: ATTRIBUTE_MAP["meter"], ...children: Array): ELEMENT_MAP["meter"]; function meterElement( attrsOrChild: ATTRIBUTE_MAP["meter"] | CHILDREN_MAP["meter"] | Array, ...children: Array ): ELEMENT_MAP["meter"] { return createHTMLElement<"meter", ATTRIBUTE_MAP["meter"], CHILDREN_MAP["meter"]>( "meter", attrsOrChild, children, ); } function navElement(...children: Array): ELEMENT_MAP["nav"]; function navElement(attributes: ATTRIBUTE_MAP["nav"], ...children: Array): ELEMENT_MAP["nav"]; function navElement( attrsOrChild: ATTRIBUTE_MAP["nav"] | CHILDREN_MAP["nav"] | Array, ...children: Array ): ELEMENT_MAP["nav"] { return createHTMLElement<"nav", ATTRIBUTE_MAP["nav"], CHILDREN_MAP["nav"]>( "nav", attrsOrChild, children, ); } function noscriptElement(...children: Array): ELEMENT_MAP["noscript"]; function noscriptElement(attributes: ATTRIBUTE_MAP["noscript"], ...children: Array): ELEMENT_MAP["noscript"]; function noscriptElement( attrsOrChild: ATTRIBUTE_MAP["noscript"] | CHILDREN_MAP["noscript"] | Array, ...children: Array ): ELEMENT_MAP["noscript"] { return createHTMLElement<"noscript", ATTRIBUTE_MAP["noscript"], CHILDREN_MAP["noscript"]>( "noscript", attrsOrChild, children, ); } function objectElement(...children: Array): ELEMENT_MAP["object"]; function objectElement(attributes: ATTRIBUTE_MAP["object"], ...children: Array): ELEMENT_MAP["object"]; function objectElement( attrsOrChild: ATTRIBUTE_MAP["object"] | CHILDREN_MAP["object"] | Array, ...children: Array ): ELEMENT_MAP["object"] { return createHTMLElement<"object", ATTRIBUTE_MAP["object"], CHILDREN_MAP["object"]>( "object", attrsOrChild, children, ); } function olElement(...children: Array): ELEMENT_MAP["ol"]; function olElement(attributes: ATTRIBUTE_MAP["ol"], ...children: Array): ELEMENT_MAP["ol"]; function olElement( attrsOrChild: ATTRIBUTE_MAP["ol"] | CHILDREN_MAP["ol"] | Array, ...children: Array ): ELEMENT_MAP["ol"] { return createHTMLElement<"ol", ATTRIBUTE_MAP["ol"], CHILDREN_MAP["ol"]>( "ol", attrsOrChild, children, ); } function optgroupElement(...children: Array): ELEMENT_MAP["optgroup"]; function optgroupElement(attributes: ATTRIBUTE_MAP["optgroup"], ...children: Array): ELEMENT_MAP["optgroup"]; function optgroupElement( attrsOrChild: ATTRIBUTE_MAP["optgroup"] | CHILDREN_MAP["optgroup"] | Array, ...children: Array ): ELEMENT_MAP["optgroup"] { return createHTMLElement<"optgroup", ATTRIBUTE_MAP["optgroup"], CHILDREN_MAP["optgroup"]>( "optgroup", attrsOrChild, children, ); } function optionElement(...children: Array): ELEMENT_MAP["option"]; function optionElement(attributes: ATTRIBUTE_MAP["option"], ...children: Array): ELEMENT_MAP["option"]; function optionElement( attrsOrChild: ATTRIBUTE_MAP["option"] | CHILDREN_MAP["option"] | Array, ...children: Array ): ELEMENT_MAP["option"] { return createHTMLElement<"option", ATTRIBUTE_MAP["option"], CHILDREN_MAP["option"]>( "option", attrsOrChild, children, ); } function outputElement(...children: Array): ELEMENT_MAP["output"]; function outputElement(attributes: ATTRIBUTE_MAP["output"], ...children: Array): ELEMENT_MAP["output"]; function outputElement( attrsOrChild: ATTRIBUTE_MAP["output"] | CHILDREN_MAP["output"] | Array, ...children: Array ): ELEMENT_MAP["output"] { return createHTMLElement<"output", ATTRIBUTE_MAP["output"], CHILDREN_MAP["output"]>( "output", attrsOrChild, children, ); } function pElement(...children: Array): ELEMENT_MAP["p"]; function pElement(attributes: ATTRIBUTE_MAP["p"], ...children: Array): ELEMENT_MAP["p"]; function pElement( attrsOrChild: ATTRIBUTE_MAP["p"] | CHILDREN_MAP["p"] | Array, ...children: Array ): ELEMENT_MAP["p"] { return createHTMLElement<"p", ATTRIBUTE_MAP["p"], CHILDREN_MAP["p"]>( "p", attrsOrChild, children, ); } function pictureElement(...children: Array): ELEMENT_MAP["picture"]; function pictureElement(attributes: ATTRIBUTE_MAP["picture"], ...children: Array): ELEMENT_MAP["picture"]; function pictureElement( attrsOrChild: ATTRIBUTE_MAP["picture"] | CHILDREN_MAP["picture"] | Array, ...children: Array ): ELEMENT_MAP["picture"] { return createHTMLElement<"picture", ATTRIBUTE_MAP["picture"], CHILDREN_MAP["picture"]>( "picture", attrsOrChild, children, ); } function portalElement(...children: Array): ELEMENT_MAP["portal"]; function portalElement(attributes: ATTRIBUTE_MAP["portal"], ...children: Array): ELEMENT_MAP["portal"]; function portalElement( attrsOrChild: ATTRIBUTE_MAP["portal"] | CHILDREN_MAP["portal"] | Array, ...children: Array ): ELEMENT_MAP["portal"] { return createHTMLElement<"portal", ATTRIBUTE_MAP["portal"], CHILDREN_MAP["portal"]>( "portal", attrsOrChild, children, ); } function preElement(...children: Array): ELEMENT_MAP["pre"]; function preElement(attributes: ATTRIBUTE_MAP["pre"], ...children: Array): ELEMENT_MAP["pre"]; function preElement( attrsOrChild: ATTRIBUTE_MAP["pre"] | CHILDREN_MAP["pre"] | Array, ...children: Array ): ELEMENT_MAP["pre"] { return createHTMLElement<"pre", ATTRIBUTE_MAP["pre"], CHILDREN_MAP["pre"]>( "pre", attrsOrChild, children, ); } function progressElement(...children: Array): ELEMENT_MAP["progress"]; function progressElement(attributes: ATTRIBUTE_MAP["progress"], ...children: Array): ELEMENT_MAP["progress"]; function progressElement( attrsOrChild: ATTRIBUTE_MAP["progress"] | CHILDREN_MAP["progress"] | Array, ...children: Array ): ELEMENT_MAP["progress"] { return createHTMLElement<"progress", ATTRIBUTE_MAP["progress"], CHILDREN_MAP["progress"]>( "progress", attrsOrChild, children, ); } function qElement(...children: Array): ELEMENT_MAP["q"]; function qElement(attributes: ATTRIBUTE_MAP["q"], ...children: Array): ELEMENT_MAP["q"]; function qElement( attrsOrChild: ATTRIBUTE_MAP["q"] | CHILDREN_MAP["q"] | Array, ...children: Array ): ELEMENT_MAP["q"] { return createHTMLElement<"q", ATTRIBUTE_MAP["q"], CHILDREN_MAP["q"]>( "q", attrsOrChild, children, ); } function rpElement(...children: Array): ELEMENT_MAP["rp"]; function rpElement(attributes: ATTRIBUTE_MAP["rp"], ...children: Array): ELEMENT_MAP["rp"]; function rpElement( attrsOrChild: ATTRIBUTE_MAP["rp"] | CHILDREN_MAP["rp"] | Array, ...children: Array ): ELEMENT_MAP["rp"] { return createHTMLElement<"rp", ATTRIBUTE_MAP["rp"], CHILDREN_MAP["rp"]>( "rp", attrsOrChild, children, ); } function rtElement(...children: Array): ELEMENT_MAP["rt"]; function rtElement(attributes: ATTRIBUTE_MAP["rt"], ...children: Array): ELEMENT_MAP["rt"]; function rtElement( attrsOrChild: ATTRIBUTE_MAP["rt"] | CHILDREN_MAP["rt"] | Array, ...children: Array ): ELEMENT_MAP["rt"] { return createHTMLElement<"rt", ATTRIBUTE_MAP["rt"], CHILDREN_MAP["rt"]>( "rt", attrsOrChild, children, ); } function rubyElement(...children: Array): ELEMENT_MAP["ruby"]; function rubyElement(attributes: ATTRIBUTE_MAP["ruby"], ...children: Array): ELEMENT_MAP["ruby"]; function rubyElement( attrsOrChild: ATTRIBUTE_MAP["ruby"] | CHILDREN_MAP["ruby"] | Array, ...children: Array ): ELEMENT_MAP["ruby"] { return createHTMLElement<"ruby", ATTRIBUTE_MAP["ruby"], CHILDREN_MAP["ruby"]>( "ruby", attrsOrChild, children, ); } function sElement(...children: Array): ELEMENT_MAP["s"]; function sElement(attributes: ATTRIBUTE_MAP["s"], ...children: Array): ELEMENT_MAP["s"]; function sElement( attrsOrChild: ATTRIBUTE_MAP["s"] | CHILDREN_MAP["s"] | Array, ...children: Array ): ELEMENT_MAP["s"] { return createHTMLElement<"s", ATTRIBUTE_MAP["s"], CHILDREN_MAP["s"]>( "s", attrsOrChild, children, ); } function sampElement(...children: Array): ELEMENT_MAP["samp"]; function sampElement(attributes: ATTRIBUTE_MAP["samp"], ...children: Array): ELEMENT_MAP["samp"]; function sampElement( attrsOrChild: ATTRIBUTE_MAP["samp"] | CHILDREN_MAP["samp"] | Array, ...children: Array ): ELEMENT_MAP["samp"] { return createHTMLElement<"samp", ATTRIBUTE_MAP["samp"], CHILDREN_MAP["samp"]>( "samp", attrsOrChild, children, ); } function scriptElement(...children: Array): ELEMENT_MAP["script"]; function scriptElement(attributes: ATTRIBUTE_MAP["script"], ...children: Array): ELEMENT_MAP["script"]; function scriptElement( attrsOrChild: ATTRIBUTE_MAP["script"] | CHILDREN_MAP["script"] | Array, ...children: Array ): ELEMENT_MAP["script"] { return createHTMLElement<"script", ATTRIBUTE_MAP["script"], CHILDREN_MAP["script"]>( "script", attrsOrChild, children, ); } function searchElement(...children: Array): ELEMENT_MAP["search"]; function searchElement(attributes: ATTRIBUTE_MAP["search"], ...children: Array): ELEMENT_MAP["search"]; function searchElement( attrsOrChild: ATTRIBUTE_MAP["search"] | CHILDREN_MAP["search"] | Array, ...children: Array ): ELEMENT_MAP["search"] { return createHTMLElement<"search", ATTRIBUTE_MAP["search"], CHILDREN_MAP["search"]>( "search", attrsOrChild, children, ); } function sectionElement(...children: Array): ELEMENT_MAP["section"]; function sectionElement(attributes: ATTRIBUTE_MAP["section"], ...children: Array): ELEMENT_MAP["section"]; function sectionElement( attrsOrChild: ATTRIBUTE_MAP["section"] | CHILDREN_MAP["section"] | Array, ...children: Array ): ELEMENT_MAP["section"] { return createHTMLElement<"section", ATTRIBUTE_MAP["section"], CHILDREN_MAP["section"]>( "section", attrsOrChild, children, ); } function selectElement(...children: Array): ELEMENT_MAP["select"]; function selectElement(attributes: ATTRIBUTE_MAP["select"], ...children: Array): ELEMENT_MAP["select"]; function selectElement( attrsOrChild: ATTRIBUTE_MAP["select"] | CHILDREN_MAP["select"] | Array, ...children: Array ): ELEMENT_MAP["select"] { return createHTMLElement<"select", ATTRIBUTE_MAP["select"], CHILDREN_MAP["select"]>( "select", attrsOrChild, children, ); } function slotElement(attributes: ATTRIBUTE_MAP["slot"], ...children: Array): ELEMENT_MAP["slot"]; function slotElement( attrsOrChild: ATTRIBUTE_MAP["slot"] | CHILDREN_MAP["slot"] | Array, ...children: Array ): ELEMENT_MAP["slot"] { return createHTMLElement<"slot", ATTRIBUTE_MAP["slot"], CHILDREN_MAP["slot"]>( "slot", attrsOrChild, children, ); } function smallElement(...children: Array): ELEMENT_MAP["small"]; function smallElement(attributes: ATTRIBUTE_MAP["small"], ...children: Array): ELEMENT_MAP["small"]; function smallElement( attrsOrChild: ATTRIBUTE_MAP["small"] | CHILDREN_MAP["small"] | Array, ...children: Array ): ELEMENT_MAP["small"] { return createHTMLElement<"small", ATTRIBUTE_MAP["small"], CHILDREN_MAP["small"]>( "small", attrsOrChild, children, ); } function sourceElement(attrs: ATTRIBUTE_MAP["source"]): ELEMENT_MAP["source"] { return new VoidBaseHTMLElement("source", attrs); } function spanElement(...children: Array): ELEMENT_MAP["span"]; function spanElement(attributes: ATTRIBUTE_MAP["span"], ...children: Array): ELEMENT_MAP["span"]; function spanElement( attrsOrChild: ATTRIBUTE_MAP["span"] | CHILDREN_MAP["span"] | Array, ...children: Array ): ELEMENT_MAP["span"] { return createHTMLElement<"span", ATTRIBUTE_MAP["span"], CHILDREN_MAP["span"]>( "span", attrsOrChild, children, ); } function strongElement(...children: Array): ELEMENT_MAP["strong"]; function strongElement(attributes: ATTRIBUTE_MAP["strong"], ...children: Array): ELEMENT_MAP["strong"]; function strongElement( attrsOrChild: ATTRIBUTE_MAP["strong"] | CHILDREN_MAP["strong"] | Array, ...children: Array ): ELEMENT_MAP["strong"] { return createHTMLElement<"strong", ATTRIBUTE_MAP["strong"], CHILDREN_MAP["strong"]>( "strong", attrsOrChild, children, ); } function styleElement(...children: Array): ELEMENT_MAP["style"]; function styleElement(attributes: ATTRIBUTE_MAP["style"], ...children: Array): ELEMENT_MAP["style"]; function styleElement( attrsOrChild: ATTRIBUTE_MAP["style"] | CHILDREN_MAP["style"] | Array, ...children: Array ): ELEMENT_MAP["style"] { return createHTMLElement<"style", ATTRIBUTE_MAP["style"], CHILDREN_MAP["style"]>( "style", attrsOrChild, children, ); } function subElement(...children: Array): ELEMENT_MAP["sub"]; function subElement(attributes: ATTRIBUTE_MAP["sub"], ...children: Array): ELEMENT_MAP["sub"]; function subElement( attrsOrChild: ATTRIBUTE_MAP["sub"] | CHILDREN_MAP["sub"] | Array, ...children: Array ): ELEMENT_MAP["sub"] { return createHTMLElement<"sub", ATTRIBUTE_MAP["sub"], CHILDREN_MAP["sub"]>( "sub", attrsOrChild, children, ); } function summaryElement(...children: Array): ELEMENT_MAP["summary"]; function summaryElement(attributes: ATTRIBUTE_MAP["summary"], ...children: Array): ELEMENT_MAP["summary"]; function summaryElement( attrsOrChild: ATTRIBUTE_MAP["summary"] | CHILDREN_MAP["summary"] | Array, ...children: Array ): ELEMENT_MAP["summary"] { return createHTMLElement<"summary", ATTRIBUTE_MAP["summary"], CHILDREN_MAP["summary"]>( "summary", attrsOrChild, children, ); } function supElement(...children: Array): ELEMENT_MAP["sup"]; function supElement(attributes: ATTRIBUTE_MAP["sup"], ...children: Array): ELEMENT_MAP["sup"]; function supElement( attrsOrChild: ATTRIBUTE_MAP["sup"] | CHILDREN_MAP["sup"] | Array, ...children: Array ): ELEMENT_MAP["sup"] { return createHTMLElement<"sup", ATTRIBUTE_MAP["sup"], CHILDREN_MAP["sup"]>( "sup", attrsOrChild, children, ); } function svgElement(...children: Array): ELEMENT_MAP["svg"]; function svgElement(attributes: ATTRIBUTE_MAP["svg"], ...children: Array): ELEMENT_MAP["svg"]; function svgElement( attrsOrChild: ATTRIBUTE_MAP["svg"] | CHILDREN_MAP["svg"] | Array, ...children: Array ): ELEMENT_MAP["svg"] { return createHTMLElement<"svg", ATTRIBUTE_MAP["svg"], CHILDREN_MAP["svg"]>( "svg", attrsOrChild, children, ); } function tableElement(...children: Array): ELEMENT_MAP["table"]; function tableElement(attributes: ATTRIBUTE_MAP["table"], ...children: Array): ELEMENT_MAP["table"]; function tableElement( attrsOrChild: ATTRIBUTE_MAP["table"] | CHILDREN_MAP["table"] | Array, ...children: Array ): ELEMENT_MAP["table"] { return createHTMLElement<"table", ATTRIBUTE_MAP["table"], CHILDREN_MAP["table"]>( "table", attrsOrChild, children, ); } function tbodyElement(...children: Array): ELEMENT_MAP["tbody"]; function tbodyElement(attributes: ATTRIBUTE_MAP["tbody"], ...children: Array): ELEMENT_MAP["tbody"]; function tbodyElement( attrsOrChild: ATTRIBUTE_MAP["tbody"] | CHILDREN_MAP["tbody"] | Array, ...children: Array ): ELEMENT_MAP["tbody"] { return createHTMLElement<"tbody", ATTRIBUTE_MAP["tbody"], CHILDREN_MAP["tbody"]>( "tbody", attrsOrChild, children, ); } function tdElement(...children: Array): ELEMENT_MAP["td"]; function tdElement(attributes: ATTRIBUTE_MAP["td"], ...children: Array): ELEMENT_MAP["td"]; function tdElement( attrsOrChild: ATTRIBUTE_MAP["td"] | CHILDREN_MAP["td"] | Array, ...children: Array ): ELEMENT_MAP["td"] { return createHTMLElement<"td", ATTRIBUTE_MAP["td"], CHILDREN_MAP["td"]>( "td", attrsOrChild, children, ); } function templateElement(...children: Array): ELEMENT_MAP["template"]; function templateElement(attributes: ATTRIBUTE_MAP["template"], ...children: Array): ELEMENT_MAP["template"]; function templateElement( attrsOrChild: ATTRIBUTE_MAP["template"] | CHILDREN_MAP["template"] | Array, ...children: Array ): ELEMENT_MAP["template"] { return createHTMLElement<"template", ATTRIBUTE_MAP["template"], CHILDREN_MAP["template"]>( "template", attrsOrChild, children, ); } function textareaElement(...children: Array): ELEMENT_MAP["textarea"]; function textareaElement(attributes: ATTRIBUTE_MAP["textarea"], ...children: Array): ELEMENT_MAP["textarea"]; function textareaElement( attrsOrChild: ATTRIBUTE_MAP["textarea"] | CHILDREN_MAP["textarea"] | Array, ...children: Array ): ELEMENT_MAP["textarea"] { return createHTMLElement<"textarea", ATTRIBUTE_MAP["textarea"], CHILDREN_MAP["textarea"]>( "textarea", attrsOrChild, children, ); } function tfootElement(...children: Array): ELEMENT_MAP["tfoot"]; function tfootElement(attributes: ATTRIBUTE_MAP["tfoot"], ...children: Array): ELEMENT_MAP["tfoot"]; function tfootElement( attrsOrChild: ATTRIBUTE_MAP["tfoot"] | CHILDREN_MAP["tfoot"] | Array, ...children: Array ): ELEMENT_MAP["tfoot"] { return createHTMLElement<"tfoot", ATTRIBUTE_MAP["tfoot"], CHILDREN_MAP["tfoot"]>( "tfoot", attrsOrChild, children, ); } function thElement(...children: Array): ELEMENT_MAP["th"]; function thElement(attributes: ATTRIBUTE_MAP["th"], ...children: Array): ELEMENT_MAP["th"]; function thElement( attrsOrChild: ATTRIBUTE_MAP["th"] | CHILDREN_MAP["th"] | Array, ...children: Array ): ELEMENT_MAP["th"] { return createHTMLElement<"th", ATTRIBUTE_MAP["th"], CHILDREN_MAP["th"]>( "th", attrsOrChild, children, ); } function theadElement(...children: Array): ELEMENT_MAP["thead"]; function theadElement(attributes: ATTRIBUTE_MAP["thead"], ...children: Array): ELEMENT_MAP["thead"]; function theadElement( attrsOrChild: ATTRIBUTE_MAP["thead"] | CHILDREN_MAP["thead"] | Array, ...children: Array ): ELEMENT_MAP["thead"] { return createHTMLElement<"thead", ATTRIBUTE_MAP["thead"], CHILDREN_MAP["thead"]>( "thead", attrsOrChild, children, ); } function timeElement(...children: Array): ELEMENT_MAP["time"]; function timeElement(attributes: ATTRIBUTE_MAP["time"], ...children: Array): ELEMENT_MAP["time"]; function timeElement( attrsOrChild: ATTRIBUTE_MAP["time"] | CHILDREN_MAP["time"] | Array, ...children: Array ): ELEMENT_MAP["time"] { return createHTMLElement<"time", ATTRIBUTE_MAP["time"], CHILDREN_MAP["time"]>( "time", attrsOrChild, children, ); } function titleElement(...children: Array): ELEMENT_MAP["title"]; function titleElement(attributes: ATTRIBUTE_MAP["title"], ...children: Array): ELEMENT_MAP["title"]; function titleElement( attrsOrChild: ATTRIBUTE_MAP["title"] | CHILDREN_MAP["title"] | Array, ...children: Array ): ELEMENT_MAP["title"] { return createHTMLElement<"title", ATTRIBUTE_MAP["title"], CHILDREN_MAP["title"]>( "title", attrsOrChild, children, ); } function trElement(...children: Array): ELEMENT_MAP["tr"]; function trElement(attributes: ATTRIBUTE_MAP["tr"], ...children: Array): ELEMENT_MAP["tr"]; function trElement( attrsOrChild: ATTRIBUTE_MAP["tr"] | CHILDREN_MAP["tr"] | Array, ...children: Array ): ELEMENT_MAP["tr"] { return createHTMLElement<"tr", ATTRIBUTE_MAP["tr"], CHILDREN_MAP["tr"]>( "tr", attrsOrChild, children, ); } function trackElement(attrs: ATTRIBUTE_MAP["track"]): ELEMENT_MAP["track"] { return new VoidBaseHTMLElement("track", attrs); } function uElement(...children: Array): ELEMENT_MAP["u"]; function uElement(attributes: ATTRIBUTE_MAP["u"], ...children: Array): ELEMENT_MAP["u"]; function uElement( attrsOrChild: ATTRIBUTE_MAP["u"] | CHILDREN_MAP["u"] | Array, ...children: Array ): ELEMENT_MAP["u"] { return createHTMLElement<"u", ATTRIBUTE_MAP["u"], CHILDREN_MAP["u"]>( "u", attrsOrChild, children, ); } function ulElement(...children: Array): ELEMENT_MAP["ul"]; function ulElement(attributes: ATTRIBUTE_MAP["ul"], ...children: Array): ELEMENT_MAP["ul"]; function ulElement( attrsOrChild: ATTRIBUTE_MAP["ul"] | CHILDREN_MAP["ul"] | Array, ...children: Array ): ELEMENT_MAP["ul"] { return createHTMLElement<"ul", ATTRIBUTE_MAP["ul"], CHILDREN_MAP["ul"]>( "ul", attrsOrChild, children, ); } function varElement(...children: Array): ELEMENT_MAP["var"]; function varElement(attributes: ATTRIBUTE_MAP["var"], ...children: Array): ELEMENT_MAP["var"]; function varElement( attrsOrChild: ATTRIBUTE_MAP["var"] | CHILDREN_MAP["var"] | Array, ...children: Array ): ELEMENT_MAP["var"] { return createHTMLElement<"var", ATTRIBUTE_MAP["var"], CHILDREN_MAP["var"]>( "var", attrsOrChild, children, ); } function videoElement(...children: Array): ELEMENT_MAP["video"]; function videoElement(attributes: ATTRIBUTE_MAP["video"], ...children: Array): ELEMENT_MAP["video"]; function videoElement( attrsOrChild: ATTRIBUTE_MAP["video"] | CHILDREN_MAP["video"] | Array, ...children: Array ): ELEMENT_MAP["video"] { return createHTMLElement<"video", ATTRIBUTE_MAP["video"], CHILDREN_MAP["video"]>( "video", attrsOrChild, children, ); } function wbrElement(attrs: ATTRIBUTE_MAP["wbr"]): ELEMENT_MAP["wbr"] { return new VoidBaseHTMLElement("wbr", attrs); } /** A type-safe builder for all HTML elements. */ export const h = { /** A type-safe builder for a HTML document. */ document: documentElement, /** A type-safe builder for the `` element. */ doctype: doctypeElement, /** A type-safe builder for the `` element. */ a: aElement, /** A type-safe builder for the `` element. */ abbr: abbrElement, /** A type-safe builder for the `
` element. */ address: addressElement, /** A type-safe builder for the `` element. */ area: areaElement, /** A type-safe builder for the `
` element. */ article: articleElement, /** A type-safe builder for the `