diff --git a/src/content/learn/typescript.md b/src/content/learn/typescript.md index c348e649662..78b99a5c022 100644 --- a/src/content/learn/typescript.md +++ b/src/content/learn/typescript.md @@ -32,7 +32,7 @@ All [production-grade React frameworks](/learn/start-a-new-react-project#full-st To install the latest version of React's type definitions: -npm install @types/react @types/react-dom +npm install --save-dev @types/react @types/react-dom The following compiler options need to be set in your `tsconfig.json`: