From 855a5fbfb03bd38563a87e4a75043a722da82232 Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Tue, 18 Apr 2023 08:42:34 -0700 Subject: [PATCH] Bump @tsconfig/react-native to 3.0.0 (#36957) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36957 Fixes https://github.com/facebook/react-native/issues/36830 This bumps the version of tsconfig/react-native to inform TypeScript of more libraries provided by Hermes/React Native. See https://github.com/tsconfig/bases/commit/eee5f19ce8c6a9a8d8baed5ce42588b95262b1a8. I did the search off of current Hermes/RN main branch, but I think the new config should be valid as far back as 0.71. It doesn't make sense to change the new app template for an old version though, so instead I think we should include this new version in 0.72. Changelog: [General][Changed] - Bump tsconfig/react-native to 3.0.0 Reviewed By: cortinico Differential Revision: D45085932 fbshipit-source-id: 448f1103ef13f76fa95884f790a3cccd9ff75b2f --- packages/react-native/template/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/template/package.json b/packages/react-native/template/package.json index 2df0b3ebac9027..48810695991354 100644 --- a/packages/react-native/template/package.json +++ b/packages/react-native/template/package.json @@ -19,7 +19,7 @@ "@babel/runtime": "^7.12.5", "@react-native/eslint-config": "^0.73.0", "@react-native/metro-config": "^0.73.0", - "@tsconfig/react-native": "^2.0.2", + "@tsconfig/react-native": "^3.0.0", "@types/metro-config": "^0.76.1", "@types/react": "^18.0.24", "@types/react-test-renderer": "^18.0.0",