mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
Fix types install instructions in 19 upgrade guide
This commit is contained in:
committed by
GitHub
parent
d2536c069e
commit
8235ae9510
@@ -81,7 +81,7 @@ yarn add --exact react@^19.0.0 react-dom@^19.0.0
|
||||
|
||||
If you're using TypeScript, you also need to update the types.
|
||||
```bash
|
||||
npm install --save-exact @types/react@^19.0.0 react-dom@^19.0.0
|
||||
npm install --save-exact @types/react@^19.0.0 @types/react-dom@^19.0.0
|
||||
```
|
||||
|
||||
Or, if you're using Yarn:
|
||||
|
||||
Reference in New Issue
Block a user