Closed yuvraj108c closed 5 days ago
import { Query } from "node-appwrite";
const query = [Query.contains("labels", "premium")]
Query should support .contains on typescript
.contains
It doesn't support .contains, but works, so likely a missing typescript definition
Different version (specify in environment)
Linux
"node-appwrite": "^12.0.1", "typescript": "^5"
@yuvraj108c thanks for creating this issue! 🙏🏼 This should be fixed in the newer (13 and above) versions of the node SDK. If you're still having problems, please feel free to create a new issue.
👟 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?
🏢 Have you read the Code of Conduct?