Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: the global `JSX` namespace was depreacted in react 18: ```tsx declare global { /** * deprecated Use `React.JSX` instead of the global `JSX` namespace. */ namespace JSX { ``` ## Changelog: [GENERAL] [CHANGED] - Replace `JSX.Element` with `React.JSX.Element` in `App.tsx` template Pull Request resolved: #38615 Test Plan: Before <img width="686" alt="Screenshot 2023-07-25 at 14 11 59" src="https://github.com/facebook/react-native/assets/4661784/531a4f88-8090-43aa-86d6-4af595d4cb5d"> After <img width="445" alt="Screenshot 2023-07-25 at 14 12 12" src="https://github.com/facebook/react-native/assets/4661784/3b427938-2768-4131-b77a-62045e5b8d08"> Reviewed By: rshest Differential Revision: D47873435 Pulled By: NickGerleman fbshipit-source-id: c8a9e0e8e96a54c6ee66fcae2392e0d20d20d026
- Loading branch information