Skip to content

Commit 4ce37ad

Browse files
committed
Add types section
1 parent c078033 commit 4ce37ad

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

readme.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The latest released version is [`1.0.2`][latest].
1616

1717
* [Introduction](#introduction)
1818
* [Where this specification fits](#where-this-specification-fits)
19+
* [Types](#types)
1920
* [Nodes](#nodes)
2021
* [`Parent`](#parent)
2122
* [`Literal`](#literal)
@@ -58,6 +59,15 @@ languages.
5859
nlcst relates to the [unified][] and [retext][] projects in that nlcst syntax
5960
trees are used throughout their ecosystems.
6061

62+
## Types
63+
64+
If you are using TypeScript, you can use the unist types by installing them
65+
with npm:
66+
67+
```sh
68+
npm install @types/nlcst
69+
```
70+
6171
## Nodes
6272

6373
### `Parent`

0 commit comments

Comments
 (0)