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 aruniverse committed Sep 6, 2022
1 parent b2e9976 commit 878f152
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docusaurus/docs/adding-typescript.md
Original file line number Diff line number Diff line change
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 878f152

Please sign in to comment.