Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Root

Document fragment or a whole document.

Should be used as the root of a tree and must not be used as a child.

Can also be used as the value for the content field on a 'template' element.

interface Root extends Parent {
children: RootContent[];
data?: RootData | undefined;
type: "root";
}

§Extends

§Properties

§
children: RootContent[]
[src]

Children of root.

§
data?: RootData | undefined
[src]

Data associated with the hast root.

§
type: "root"
[src]

Node type of hast root.