Skip to content

Commit 56fc334

Browse files
authored
Fixed to match the other articles
1 parent 17431f0 commit 56fc334

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docusaurus/docs/adding-typescript.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ To start a new Create React App project with [TypeScript](https://www.typescript
1414
```sh
1515
npx create-react-app my-app --template typescript
1616
```
17-
or
17+
Alternatively you may use yarn:
18+
1819
```
1920
yarn create react-app my-app --template typescript
2021
```
@@ -28,7 +29,8 @@ To add [TypeScript](https://www.typescriptlang.org/) to an existing Create React
2829
```sh
2930
npm install --save typescript @types/node @types/react @types/react-dom @types/jest
3031
```
31-
or
32+
Alternatively you may use yarn:
33+
3234
```
3335
yarn add typescript @types/node @types/react @types/react-dom @types/jest
3436
```

0 commit comments

Comments
 (0)