Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aymeric-giraudet committed Apr 5, 2024
1 parent 61ba925 commit 2c1a3f9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/instantsearch.js/src/types/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,7 @@ type RequiredUiStateLifeCycle<TWidgetDescription extends WidgetDescription> = {
>;
}
) => SearchParameters;
} & (
| SearchWidgetLifeCycle<TWidgetDescription>
| RecommendWidgetLifeCycle<TWidgetDescription>
);
} & (SearchWidget<TWidgetDescription> | RecommendWidget<TWidgetDescription>);

type UiStateLifeCycle<TWidgetDescription extends WidgetDescription> =
TWidgetDescription extends RequiredKeys<WidgetDescription, 'indexUiState'>
Expand Down

0 comments on commit 2c1a3f9

Please sign in to comment.