This is an issue related to the version of @types/react with the current version of React Native. You will have to add the following snippet to the package.json file:
"resolutions": {
"@types/react": "17.0.44"
},
After adding the above snippet, please run yarn install from the root of your Expo project.