Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed to match the other articles
  • Loading branch information
johnfg2610 authored Aug 7, 2020
commit 56fc334e06742645597272b3a1634e740cf72038
6 changes: 4 additions & 2 deletions docusaurus/docs/adding-typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ To start a new Create React App project with [TypeScript](https://www.typescript
```sh
npx create-react-app my-app --template typescript
```
or
Alternatively you may use yarn:

```
yarn create react-app my-app --template typescript
```
Expand All @@ -28,7 +29,8 @@ To add [TypeScript](https://www.typescriptlang.org/) to an existing Create React
```sh
npm install --save typescript @types/node @types/react @types/react-dom @types/jest
```
or
Alternatively you may use yarn:

```
yarn add typescript @types/node @types/react @types/react-dom @types/jest
```
Expand Down