I was using node sdk in ts projects (v4.3.5 && v5.4.5). I received same type error in both versions, related to same objects in declaration file, which had signature like "export const ImageFormat: Readonly<{type implementation }>" then error i received was "ImageFormat' refers to a value, but is being used as a type here. Did you mean 'typeof ImageFormat'" because this uninitialized variable was used as type in some places in declaration file. What i tried in local version of declaration file is changing it to "export type ImageFormat=Readonly<{type implementation}>" so this became type object instead of uninitialized js variable. It was working fine after this change no errors and i also tested some methods provided by sdk, working fine as well. Please let me know if i am missing something and if it could be worked without modifying original declaration
Recommended threads
- Pool 'console' is empty
I am using self-hosted Appwrite. I recently upgraded to 1.7.4 and because of that I monitored the logs more closely. I noticed the realtime-error **Pool 'consol...
- Import CSV via API (User Not Authorized)
I'm trying to import database data via CSV via API, however getting "The current user is not authorized to perform the requested action." after the API key has ...
- 1.8.0: Data import missing documents
Hi! I Updated to 1.8.0 and there are still UI Errors in the console. I tried to migrate some data from another self hosted Appwrite and I'm not able to Includ...