Browse Source

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.
main
yoeldovidcohen 5 years ago
committed by Alexey Pyltsyn
parent
commit
c8aef5dc0d
  1. 2
      content/docs/static-type-checking.md

2
content/docs/static-type-checking.md

@ -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).

Loading…
Cancel
Save