Abstract hast node that contains other hast nodes (children).
This interface is supposed to be extended if you make custom hast nodes.
For a union of all registered hast parents, see Parents.
children:
RootContent
[]
List of children.
node_modules/@types/hast/index.d.ts:159
optional
data:Data
Info from the ecosystem.
node_modules/@types/hast/index.d.ts:131
optional
position:Position
Position of a node in a source document.
Nodes that are generated (not in the original source document) must not have a position.
node_modules/@types/unist/index.d.ts:103
type:
string
Node type.
node_modules/@types/unist/index.d.ts:90