mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 19:03:38 +02:00
docs(v2): add npm2yarn to TypeScript install command (#3750)
This commit is contained in:
parent
25fc35aec7
commit
bb64f68acd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue