Doctype

HTML document type.

Extends

Properties

data?

optional data: DoctypeData

Data associated with the doctype.

Overrides

Node.data

Defined in

node_modules/@types/hast/index.d.ts:194


position?

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.

Inherited from

Node.position

Defined in

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


type

type: "doctype"

Node type of HTML document types in hast.

Overrides

Node.type

Defined in

node_modules/@types/hast/index.d.ts:190