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
- Function executions not getting logged b...
Hello, I have just upgraded on a self-hosted 1.8.1 to 1.9.0 and I have a strange bug where my functions are no longer showing executions in the console, howeve...
- Appwrite 1.9 Local Console Login Issue A...
I've installed Appwrite 1.9 locally through the web wizard. When I try to log in to the console, I get the following. Any suggestion?
- > [Bug] Infinite loading on Auth /securi...
Hello everyone! 👋 I need some help with an issue I'm facing after a recent upgrade. **Context:** I just upgraded my Appwrite instance from version **1.8.1**...