We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df73997 commit 40a075cCopy full SHA for 40a075c
readme.md
@@ -19,6 +19,7 @@ The latest released version is [`2.4.0`][latest].
19
* [Introduction](#introduction)
20
* [Where this specification fits](#where-this-specification-fits)
21
* [Virtual DOM](#virtual-dom)
22
+* [Types](#types)
23
* [Nodes](#nodes)
24
* [`Parent`](#parent)
25
* [`Literal`](#literal)
@@ -69,6 +70,15 @@ The reason for introducing a new “virtual” DOM is primarily:
69
70
(think comments and document types)
71
* Neither the DOM nor virtual DOMs focus on positional information
72
73
+## Types
74
+
75
+If you are using TypeScript, you can use the unist types by installing them
76
+with npm:
77
78
+```sh
79
+npm install @types/hast
80
+```
81
82
## Nodes
83
84
### `Parent`
0 commit comments