Skip to content

Commit afd84d1

Browse files
authored
Recommend installing @types/* as dev dependencies
1 parent 0cc37ee commit afd84d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ All [production-grade React frameworks](/learn/start-a-new-react-project#full-st
3232
To install the latest version of React's type definitions:
3333

3434
<TerminalBlock>
35-
npm install @types/react @types/react-dom
35+
npm install --save-dev @types/react @types/react-dom
3636
</TerminalBlock>
3737

3838
The following compiler options need to be set in your `tsconfig.json`:

0 commit comments

Comments
 (0)