diff --git a/docs/concepts/11-typescript.md b/docs/concepts/11-typescript.md index cd07691bb..ab1604669 100644 --- a/docs/concepts/11-typescript.md +++ b/docs/concepts/11-typescript.md @@ -1,17 +1,9 @@ # TypeScript -Extended TypeScript support is currently available in the `@next` release of Slate only but should be a regular release soon. You will need to install it before using.: - -```sh -# for npm -npm install --save slate@next slate-react@next slate-history@next - -# for yarn -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). +You must define `CustomTypes` when using TypeScript or Slate will display typing errors. + If you need to support more than one document model, see the section Multiple Document Models. ## Defining `Editor`, `Element` and `Text` Types