Doctype

Defined in: node_modules/@types/hast/index.d.ts:186

HTML document type.

Extends

Properties

data?

optional data: DoctypeData

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

Data associated with the doctype.

Overrides

Node.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

Node.position


type

type: "doctype"

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

Node type of HTML document types in hast.

Overrides

Node.type