Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

Commit 4624a05

Browse files
mubaraknGoetzGoerisch
authored andcommitted
prevent both npm and yarn commands from being copied (facebook#11757)
1 parent 83eea15 commit 4624a05

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docusaurus/docs/adding-typescript.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ To start a new Create React App project with [TypeScript](https://www.typescript
1313

1414
```sh
1515
npx create-react-app my-app --template typescript
16-
17-
# or
18-
16+
```
17+
or
18+
```sh
1919
yarn create react-app my-app --template typescript
2020
```
2121

@@ -27,9 +27,9 @@ To add [TypeScript](https://www.typescriptlang.org/) to an existing Create React
2727

2828
```sh
2929
npm install --save typescript @types/node @types/react @types/react-dom @types/jest
30-
31-
# or
32-
30+
```
31+
or
32+
```sh
3333
yarn add typescript @types/node @types/react @types/react-dom @types/jest
3434
```
3535

0 commit comments

Comments
 (0)