You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within the latest version, when I Start a new Expo project I'm getting the following ts error
I'm having issues understanding why
'MapView'cannotbeusedasaJSXcomponent.Itsinstancetype'MapView'isnotavalidJSXelement.Thetypesreturnedby'render()'areincompatiblebetweenthesetypes.Type'React.ReactNode'isnotassignabletotype'import("/Users/screamz/js-dev/pro/stride/stride-new-mobile-app/node_modules/@types/react-native/node_modules/@types/react/index").ReactNode'.Type'{}'isnotassignabletotype'ReactNode'.Type '{}' is missing the following properties from type 'ReactPortal': key,children,type,propsts(2786)
Reproduction
npm i -g expo-cli expo init -> Typescript starter expo install react-native-maps-> "react-native-maps": "0.29.4" given
Try to use <MapView /> within a component in a .tsx file
The text was updated successfully, but these errors were encountered:
Within the latest version, when I Start a new Expo project I'm getting the following ts error
I'm having issues understanding why
Reproduction
npm i -g expo-cli
expo init
-> Typescript starterexpo install react-native-maps
->"react-native-maps": "0.29.4"
givenTry to use
<MapView />
within a component in a.tsx
fileThe text was updated successfully, but these errors were encountered: