File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
packages/algoliasearch/src/builds Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -349,11 +349,11 @@ export type SearchIndex = BaseSearchIndex & {
349
349
query : string ,
350
350
requestOptions ?: RequestOptions & SearchOptions
351
351
) => Readonly < Promise < SearchResponse < TObject > > > ;
352
- readonly findAnswers : (
352
+ readonly findAnswers : < TObject > (
353
353
query : string ,
354
354
queryLanguages : readonly string [ ] ,
355
355
requestOptions ?: RequestOptions & FindAnswersOptions
356
- ) => Readonly < Promise < FindAnswersResponse > > ;
356
+ ) => Readonly < Promise < FindAnswersResponse < TObject > > > ;
357
357
readonly searchForFacetValues : (
358
358
facetName : string ,
359
359
facetQuery : string ,
Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ export type SearchIndex = BaseSearchIndex & {
89
89
facetQuery : string ,
90
90
requestOptions ?: RequestOptions & SearchOptions
91
91
) => Readonly < Promise < SearchForFacetValuesResponse > > ;
92
- readonly findAnswers : (
92
+ readonly findAnswers : < TObject > (
93
93
query : string ,
94
94
queryLanguages : readonly string [ ] ,
95
95
requestOptions ?: RequestOptions & FindAnswersOptions
96
- ) => Readonly < Promise < FindAnswersResponse > > ;
96
+ ) => Readonly < Promise < FindAnswersResponse < TObject > > > ;
97
97
} ;
98
98
99
99
export type SearchClient = BaseSearchClient & {
Original file line number Diff line number Diff line change @@ -357,11 +357,11 @@ export type SearchIndex = BaseSearchIndex & {
357
357
facetQuery : string ,
358
358
requestOptions ?: RequestOptions & SearchOptions
359
359
) => Readonly < Promise < SearchForFacetValuesResponse > > ;
360
- readonly findAnswers : (
360
+ readonly findAnswers : < TObject > (
361
361
query : string ,
362
362
queryLanguages : readonly string [ ] ,
363
363
requestOptions ?: RequestOptions & FindAnswersOptions
364
- ) => Readonly < Promise < FindAnswersResponse > > ;
364
+ ) => Readonly < Promise < FindAnswersResponse < TObject > > > ;
365
365
readonly batch : (
366
366
requests : readonly BatchRequest [ ] ,
367
367
requestOptions ?: RequestOptions
You can’t perform that action at this time.
0 commit comments