-
Notifications
You must be signed in to change notification settings - Fork 91
Property 'deleteTasks' does not exist on type 'MeiliSearch'.ts(2339) #1929
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It's an issue on the docs: |
|
previously i needed to put all the tasks types there. maybe that changed |
You could also specify |
You are right, README.md wasn't properly updated regarding recent changes. @anaibol You should instead read the docs from here: https://meilisearch.github.io/meilisearch-js/ |
After upgrading meilisearch from 0.49.0 to 0.50.0 I get
Property 'deleteTasks' does not exist on type 'MeiliSearch'.ts(2339)
My previously working code was
await meilisearchClient .deleteTasks({ types: [...Object.values(TaskTypes)], }) .catch(() => {})
The text was updated successfully, but these errors were encountered: