Could not find a declaration file for module 'react-native-appwrite'. '/Users/albertorg/Documents/Projects/Personal/Eson/eson/node_modules/react-native-appwrite/dist/cjs/sdk.js' implicitly has an 'any' type.
Try npm i --save-dev @types/react-native-appwrite if it exists or add a new declaration (.d.ts) file containing declare module 'react-native-appwrite';
any solution for this?
How did you install it?
npx expo install react-native-appwrite react-native-url-polyfill
Im using yarn
Hmm they might be missing but we have an update coming out soon that should have it. You could try to generate them by going into that react-native-folder and running npm run build
That worked for me, thank you very much
[SOLVED] Typescript react-native-appwrite sdk
im still having this problem can anyone give me a solution for this ?
Thank you so much for this replay I solved this problem with the help of the declare module
Problem solved and all work perfectly.
Is there a known fix date for this?
Going into node_modules/react-native-appwrite and running yarn run build does fix it, but is hacky 🤣
Did you try with version 0.3.0?
Recommended threads
- Switched a project to a different organi...
I recently switched my project to another organization but all the Data I had in Form of Buckets, Databases, Keys, Users, etc. aren't being shown. However I can...
- Is there migration script generation lik...
Having standards migration script is helpful. For example something like same script to apply for multiple DB - each DB for one tenant
- How can I change DNS entries when using ...
According to the [custom domain docs](https://appwrite.io/docs/products/sites/domains#add-a-custom-domain) I have to switch my nameserver over to Appwrite. This...