Skip to content

Commit

Permalink
revert type
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp committed Nov 12, 2024
1 parent 068da51 commit 7b4426f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import type {
} from '@docsearch/react';

import type {AutocompleteState} from '@algolia/autocomplete-core';
import type {FacetFilters, SearchForHits} from 'algoliasearch/lite';
import type {FacetFilters} from 'algoliasearch/lite';

type DocSearchProps = Omit<
DocSearchModalProps,
Expand Down Expand Up @@ -101,7 +101,7 @@ function DocSearch({
configFacetFilters;

// We let user override default searchParameters if she wants to
const searchParameters: SearchForHits = {
const searchParameters: DocSearchModalProps['searchParameters'] = {
...props.searchParameters,
facetFilters,
indexName: props.indexName,
Expand Down

0 comments on commit 7b4426f

Please sign in to comment.