File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ The latest released version is [`2.0.0`][release].
18
18
* [ Intro] ( #intro )
19
19
* [ Syntax tree] ( #syntax-tree )
20
20
* [ Where this specification fits] ( #where-this-specification-fits )
21
+ * [ Types] ( #types )
21
22
* [ Nodes] ( #nodes )
22
23
* [ ` Node ` ] ( #node )
23
24
* [ ` Parent ` ] ( #parent )
@@ -81,6 +82,15 @@ unist relates to the [vfile][] project in that it accepts unist nodes for its
81
82
message store, and that vfile can be a source * [ file] [ term-file ] * of a syntax
82
83
tree.
83
84
85
+ ## Types
86
+
87
+ If you are using TypeScript, you can use the unist types by installing them
88
+ with npm:
89
+
90
+ ``` sh
91
+ npm install @types/unist
92
+ ```
93
+
84
94
## Nodes
85
95
86
96
Syntactic units in unist syntax trees are called nodes, and implement the
You can’t perform that action at this time.
0 commit comments