docs(v2): add npm2yarn to TypeScript install command (#3750)

This commit is contained in:
David Goss 2020-11-14 22:08:38 +00:00 committed by GitHub
parent 25fc35aec7
commit bb64f68acd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ title: TypeScript Support
Docusaurus supports writing and using TypeScript theme components. To start using TypeScript, add `@docusaurus/module-type-aliases` and some `@types` dependencies to your project:
```bash
```bash npm2yarn
npm install --save-dev typescript @docusaurus/module-type-aliases @types/react @types/react-router-dom @types/react-helmet @tsconfig/docusaurus
```