diff --git a/docusaurus/docs/adding-typescript.md b/docusaurus/docs/adding-typescript.md index 25380216431..1fb14a82ba1 100644 --- a/docusaurus/docs/adding-typescript.md +++ b/docusaurus/docs/adding-typescript.md @@ -17,6 +17,8 @@ npx create-react-app my-app --typescript yarn create react-app my-app --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. + To add [TypeScript](https://www.typescriptlang.org/) to a Create React App project, first install it: ```sh