WatermelonDB
WatermelonDB copied to clipboard
React Native 0.78 + WatermelonDB Works in JavaScript but Not in TypeScript
I created a new React Native 0.78 project with TypeScript, but WatermelonDB does not work when using .tsx files with a tsconfig.json.
Observations:
WatermelonDB does not work in a .tsx file when TypeScript is enabled. Babel is updated, but the issue persists. If I delete tsconfig.json and use App.js instead of App.tsx, WatermelonDB works fine. Also, I'm unable to install other React Native versions—any downgrade or upgrade attempt fails.
Has anyone faced this issue?
Do I need additional config changes for WatermelonDB with TypeScript in React Native 0.78? Any solutions or workarounds would be really helpful!