Skip to content
New issue

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

馃悰 Bug Report: Property 'contains' does not exist on type 'typeof Query'.ts(2339) #90

Open
2 tasks done
yuvraj108c opened this issue May 20, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@yuvraj108c
Copy link

馃憻 Reproduction steps

import { Query } from "node-appwrite";

const query = [Query.contains("labels", "premium")]

馃憤 Expected behavior

Query should support .contains on typescript

馃憥 Actual Behavior

It doesn't support .contains, but works, so likely a missing typescript definition

馃幉 Appwrite version

Different version (specify in environment)

馃捇 Operating system

Linux

馃П Your Environment

"node-appwrite": "^12.0.1",
"typescript": "^5"

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@yuvraj108c yuvraj108c added the bug Something isn't working label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant