Upgrade guide should recommend installing types @beta (#6806)

This commit is contained in:
Sebastian Silbermann
2024-04-26 22:40:56 +02:00
committed by GitHub
parent 8c1c6e3014
commit 01edd5c107

View File

@@ -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"
}
}
```