Skip to content

Commit

Permalink
prevent both npm and yarn commands from being copied (facebook#11757)
Browse files Browse the repository at this point in the history
  • Loading branch information
mubarakn authored and GoetzGoerisch committed Jan 13, 2022
1 parent 83eea15 commit 4624a05
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docusaurus/docs/adding-typescript.md
Expand Up @@ -13,9 +13,9 @@ To start a new Create React App project with [TypeScript](https://www.typescript

```sh
npx create-react-app my-app --template typescript

# or

```
or
```sh
yarn create react-app my-app --template typescript
```

Expand All @@ -27,9 +27,9 @@ 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

```
or
```sh
yarn add typescript @types/node @types/react @types/react-dom @types/jest
```

Expand Down

0 comments on commit 4624a05

Please sign in to comment.