RootContentMap

Defined in: node_modules/@types/hast/index.d.ts:69

Registry of all hast nodes that can occur as children of Root.

👉 Note: Root does not need to be an entire document. it can also be a fragment.

For a union of all Root children, see RootContent.

Properties

comment

comment: Comment

Defined in: node_modules/@types/hast/index.d.ts:70


doctype

doctype: Doctype

Defined in: node_modules/@types/hast/index.d.ts:71


element

element: Element

Defined in: node_modules/@types/hast/index.d.ts:72


text

text: Text

Defined in: node_modules/@types/hast/index.d.ts:73