NodeWithChildrenA Node that can have children. class NodeWithChildren extends Node {constructor(type: | ElementType.Root | ElementType.CDATA | ElementType.Script | ElementType.Style | ElementType.Tag, children: Node[]);children: Node[];get firstChild(): Node | null;get lastChild(): Node | null;get childNodes(): Node[];set childNodes(children: Node[]);}§Extends§Node[src]§Constructors§new NodeWithChildren(type: ElementType.Root | ElementType.CDATA | ElementType.Script | ElementType.Style | ElementType.Tag, children: Node[])[src]@param typeType of the node. @param childrenChildren of the node. Only certain node types can have children. §Properties§children: Node[][src]§firstChild: Node | null readonly[src]First child of the node. §lastChild: Node | null readonly[src]Last child of the node. §childNodes: Node[][src]Same as {@link children}. DOM spec-compatible alias.