
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
- Show execution status 500 unable to set ...
I want to set the labels at the time user signup to my application , all things work , users data save in auth, updateprefs set , a verification email sent , bu...
- Oauth provider access token is empty
I created oauth with github it seems the provider access token is empty how to fix this?
- Appwrite 1.7.4 Docker query error
I’m running Appwrite 1.7.4 docker image using the sdk-for-apple package. The collection has 16 documents if l run Query.limit(1) I get one record. But if I run ...
