You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and instead, the declaration in indexes.getDocument and indexes.getDocuments should inherit the generic T from the class declaration if no other type has been specified.
With the same logic as in this PR #1416
the
Document
andDocuments
type should be removed:meilisearch-js/src/types/types.ts
Lines 164 to 165 in 14051d4
and instead, the declaration in
indexes.getDocument
andindexes.getDocuments
should inherit the genericT
from the class declaration if no other type has been specified.Example with
getDocument
meilisearch-js/src/indexes.ts
Lines 359 to 379 in 14051d4
Should be changed:
and the response object
The text was updated successfully, but these errors were encountered: