mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Bump template @types/react to 18.2.6 (#38713)
Summary: Match the `react` dependency minor of `18.2` and specify a min version of `18.2.6`, which is the first version which includes `React.JSX` namespace. This enables usage of `React.JSX.Element`, now default as part of the template. Note that `18.2.6` satisfied the previous semver, so new templates are already pulling in a version even newer than this, but updating projects may not do this automatically. Changelog: [General][Fixed] - Bump template types/react to 18.2.6 Pull Request resolved: https://github.com/facebook/react-native/pull/38713 Test Plan: CircleCI will build and typecheck a new template app. Reviewed By: yungsters Differential Revision: D47943524 Pulled By: NickGerleman fbshipit-source-id: 49e587f8c2ebfce9fd1f00793a858d72ac0aa09e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6ab062dfec
commit
b65dbf68d0
@@ -21,7 +21,7 @@
|
||||
"@react-native/eslint-config": "^0.73.0",
|
||||
"@react-native/metro-config": "^0.73.0",
|
||||
"@react-native/typescript-config": "^0.73.0",
|
||||
"@types/react": "^18.0.24",
|
||||
"@types/react": "^18.2.6",
|
||||
"@types/react-test-renderer": "^18.0.0",
|
||||
"babel-jest": "^29.2.1",
|
||||
"eslint": "^8.19.0",
|
||||
|
||||
Reference in New Issue
Block a user