From eace3f04a9518632ddaed59c9fdfe3620a0b7769 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Sat, 4 Feb 2023 16:52:06 +0100 Subject: [PATCH] Add types section --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/readme.md b/readme.md index d658f15..2ce6386 100644 --- a/readme.md +++ b/readme.md @@ -18,6 +18,7 @@ The latest released version is [`4.0.0`][latest]. * [Introduction](#introduction) * [Where this specification fits](#where-this-specification-fits) +* [Types](#types) * [Nodes](#nodes) * [`Parent`](#parent) * [`Literal`](#literal) @@ -90,6 +91,15 @@ languages. mdast relates to the [unified][] and [remark][] projects in that mdast syntax trees are used throughout their ecosystems. +## Types + +If you are using TypeScript, you can use the unist types by installing them +with npm: + +```sh +npm install @types/mdast +``` + ## Nodes ### `Parent`