Got this warning when using the former version (#2693)

The --typescript option has been deprecated and will be removed in a future release.
In future, please use --template typescript.
This commit is contained in:
yoeldovidcohen
2020-01-20 15:41:14 +00:00
committed by Alexey Pyltsyn
parent 7ab8394ed6
commit c8aef5dc0d

View File

@@ -175,7 +175,7 @@ Create React App supports TypeScript out of the box.
To create a **new project** with TypeScript support, run:
```bash
npx create-react-app my-app --typescript
npx create-react-app my-app --template typescript
```
You can also add it to an **existing Create React App project**, [as documented here](https://facebook.github.io/create-react-app/docs/adding-typescript).