JavaScript client for the Meilisearch API
Home Page:https://www.meilisearch.com
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
bidoubiwa opened this issue 2 years ago · comments
In the following methods:
meilisearch-js/src/indexes.ts
Line 102 in b1ed904
and
Line 79 in b1ed904
The generic D should always extend Record<string, any>.
D
Record<string, any>
Thus, they should be added in the generic definition like this
async searchGet<D extends Record<string, any> = T>