mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Upgrade guide should recommend installing types @beta (#6806)
This commit is contained in:
committed by
GitHub
parent
8c1c6e3014
commit
01edd5c107
@@ -85,12 +85,12 @@ If you're using TypeScript, you also need to update the types. Once React 19 is
|
||||
```json
|
||||
{
|
||||
"dependencies": {
|
||||
"@types/react": "npm:types-react@alpha",
|
||||
"@types/react-dom": "npm:types-react-dom@alpha"
|
||||
"@types/react": "npm:types-react@beta",
|
||||
"@types/react-dom": "npm:types-react-dom@beta"
|
||||
},
|
||||
"overrides": {
|
||||
"@types/react": "npm:types-react@alpha",
|
||||
"@types/react-dom": "npm:types-react-dom@alpha"
|
||||
"@types/react": "npm:types-react@beta",
|
||||
"@types/react-dom": "npm:types-react-dom@beta"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user