1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 13:41:19 +02:00

Add installing important plugins to TypeScript docs

This commit is contained in:
Sunny Hirai
2021-03-26 22:53:07 -07:00
parent f77aa218aa
commit 2a8ba9c39b

View File

@@ -4,10 +4,10 @@ Extended TypeScript support is currently available in the `@next` release of Sla
```sh
# for npm
npm install --save slate@next
npm install --save slate@next slate-react@next slate-history@next
# for yarn
yarn add slate@next
yarn add slate@next slate-react@next slate-history@next
```
Slate supports typing of one Slate document model (eg. one set of custom `Editor`, `Element` and `Text` types).