Type alias TextNode

TextNode: {
    type: typeof DefaultTextType;
    value: string;
}

TextNode represents a text node. It has a string value.

Type declaration

  • type: typeof DefaultTextType
  • value: string