-
-
Notifications
You must be signed in to change notification settings - Fork 848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: TypeScript Linting Errors occuring again with Expo SDK 47 #2391
Comments
@KiwiKilian can you reproduce in a new expo project as well?! Maybe we should be using the "types": "lib/typescript/index.d.ts",
We're using the config suggested by react-native builder bob - https://github.com/callstack/react-native-builder-bob#manual-configuration
It's the same stuff used by |
I might have the time to create a minimal example tomorrow. Maybe would helpful to have a Expo example after all. |
I have the same issue without using expo. "main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index", |
Im puzzled, can't yet reproduce in a new Expo project... Might have to investigate further. Which would be the correct main type file? Isn't it still |
Hey @KiwiKilian, thanks for the fix! It works perfectly! |
Ok, then I hope to we get #2418 merged and the next beta should be fine to use again. |
Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
iOS, Android
@rnmapbox/maps
version10.0.0-beta.56
Standalone component to reproduce
Observed behavior and steps to reproduce
I once again see TypeScript errors after I upgraded to Expo SDK 47 and Node 18. I yet didn't find the actual reason as
tsconfig.json
seems to stay the same aswell as my TypeScript version.Expected behavior
No response
Notes / preliminary analysis
Is the
/javascript
directory actually meant to be shipped? Isn't the stuff in/lib
enough?Additional links and references
See also #2264 and #2333.
The text was updated successfully, but these errors were encountered: