node-appwrite 1.2.1 Type errors: refers to a value, but is being used as a type
- 0
- Databases
- Self Hosted
Hi, i'm trying to update to node-appwrite v1.2.1 but when I try to build my application I get type errors within node-appwrite/index.d.ts. They are all more or less the same, for example:
node_modules/node-appwrite/index.d.ts:2699:34 - error TS2749: 'AuthenticatorType' refers to a value, but is being used as a type here. Did you mean 'typeof AuthenticatorType'?
2699 createMfaAuthenticator(type: AuthenticatorType): Promise<Models.MfaType>;
I'm using Node v20.9.0 and TypeScript 5.4.3. Is this an issue on my end or do I have to wait on new types to be published?
Recommended threads
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...