From c8aef5dc0dc340e800fbb7963a94adb97da9803b Mon Sep 17 00:00:00 2001 From: yoeldovidcohen <46816177+yoeldovidcohen@users.noreply.github.com> Date: Mon, 20 Jan 2020 15:41:14 +0000 Subject: [PATCH] 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. --- content/docs/static-type-checking.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/static-type-checking.md b/content/docs/static-type-checking.md index ed35a9503..c95820240 100644 --- a/content/docs/static-type-checking.md +++ b/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).