From 8d666e42e33270319b00705385133ef237fcb8a4 Mon Sep 17 00:00:00 2001 From: Dejumo Date: Sat, 23 Aug 2025 07:45:36 +0100 Subject: [PATCH] Update typescript.md fix-docs-types-install --- src/content/learn/typescript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`: