diff --git a/docusaurus/docs/adding-typescript.md b/docusaurus/docs/adding-typescript.md index 40c9c2242a8..54951573a94 100644 --- a/docusaurus/docs/adding-typescript.md +++ b/docusaurus/docs/adding-typescript.md @@ -16,11 +16,12 @@ npx create-react-app my-app --template typescript # or -yarn create react-app my-app --template typescript +yarn create-react-app my-app --template typescript ``` > If you've previously installed `create-react-app` globally via `npm install -g create-react-app`, we recommend you uninstall the package using `npm uninstall -g create-react-app` to ensure that `npx` always uses the latest version. > + > Global installs of `create-react-app` are no longer supported. To add [TypeScript](https://www.typescriptlang.org/) to a Create React App project, first install it: