Skip to content

Commit

Permalink
fix(typescript): make recommendResults.params non-nullable (#6296)
Browse files Browse the repository at this point in the history
fixes #6295
  • Loading branch information
chrisvltn authored Jul 24, 2024
1 parent 25fc44f commit 0f87fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/instantsearch.js/src/types/results.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ type InitialResult = {
state?: PlainSearchParameters;
results?: SearchResults['_rawResults'];
recommendResults?: {
params: RecommendParametersOptions['params'];
params: NonNullable<RecommendParametersOptions['params']>;
results: RecommendResults['_rawResults'];
};
requestParams?: SearchOptions[];
Expand Down

0 comments on commit 0f87fc3

Please sign in to comment.