Skip to content

Commit 0f2aa58

Browse files
emyannbidoubiwa
authored andcommitted
chore: update documentation
1 parent 9e9f0fe commit 0f2aa58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ A GitHub Action will be triggered and push the package on [npm](https://www.npmj
315315

316316
- Make a search request:
317317

318-
`client.getIndex('xxx').search(query: string, options?: SearchParams): Promise<SearchResponse>`
318+
`client.getIndex('xxx').search<T = any>(query: string, options?: SearchParams): Promise<SearchResponse<T>>`
319319

320320
### Indexes <!-- omit in toc -->
321321

0 commit comments

Comments
 (0)