Skip to content

Commit eace3f0

Browse files
committed
Add types section
1 parent 7007698 commit eace3f0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

readme.md

+10
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The latest released version is [`4.0.0`][latest].
1818

1919
* [Introduction](#introduction)
2020
* [Where this specification fits](#where-this-specification-fits)
21+
* [Types](#types)
2122
* [Nodes](#nodes)
2223
* [`Parent`](#parent)
2324
* [`Literal`](#literal)
@@ -90,6 +91,15 @@ languages.
9091
mdast relates to the [unified][] and [remark][] projects in that mdast syntax
9192
trees are used throughout their ecosystems.
9293

94+
## Types
95+
96+
If you are using TypeScript, you can use the unist types by installing them
97+
with npm:
98+
99+
```sh
100+
npm install @types/mdast
101+
```
102+
93103
## Nodes
94104

95105
### `Parent`

0 commit comments

Comments
 (0)