Interface Node<TData>

Syntactic units in unist syntax trees are called nodes.

Type Parameters

  • TData extends object = Data

    Information from the ecosystem. Useful for more specific data.

Hierarchy

Properties

Properties

data?: TData

Information from the ecosystem.

position?: Position

Location of a node in a source document. Must not be present if a node is generated.

type: string

The variant of a node.

Generated using TypeDoc