Root

Defined in: node_modules/@types/mdast/index.d.ts:948

Document fragment or a whole document.

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

Extends

Properties

children

children: RootContent[]

Defined in: node_modules/@types/mdast/index.d.ts:506

List of children.

Inherited from

Parent.children


data?

optional data: RootData

Defined in: node_modules/@types/mdast/index.d.ts:956

Data associated with the mdast root.

Overrides

Parent.data


position?

optional position: Position

Defined in: node_modules/@types/unist/index.d.ts:103

Position of a node in a source document.

Nodes that are generated (not in the original source document) must not have a position.

Inherited from

Parent.position


type

type: "root"

Defined in: node_modules/@types/mdast/index.d.ts:952

Node type of mdast root.

Overrides

Parent.type