We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document
import { Client, Databases, Users } from "node-appwrite"; const client = new Client(); const databases = new Databases(client); client .setEndpoint(ENDPOINT) .setProject(PROJECT_ID) .setKey(API_KEY); const {my_attribute} = databases.getDocument(DB_ID, COLLECTION_ID, DOCUMENT_ID);
In this example, my_attribute shows a TS error saying "Property 'my_attribute' does not exist on type 'Document'"
my_attribute
That's a quickie. I would be happy to help with this
It should adapt to any property I wanna use from the document
Throws a TS error
Different version (specify in environment)
Linux
node-appwrite v11.1.0
node-appwrite
The text was updated successfully, but these errors were encountered:
No branches or pull requests
馃憻 Reproduction steps
In this example,
my_attribute
shows a TS error saying "Property 'my_attribute' does not exist on type 'Document'"That's a quickie. I would be happy to help with this
馃憤 Expected behavior
It should adapt to any property I wanna use from the document
馃憥 Actual Behavior
Throws a TS error
馃幉 Appwrite version
Different version (specify in environment)
馃捇 Operating system
Linux
馃П Your Environment
node-appwrite
v11.1.0馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: