Skip to content

Commit

Permalink
bim
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed Dec 20, 2024
1 parent f889a8f commit 1ba90e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ export type {
InfiniteHitsWidgetDescription,
InfiniteHitsConnectorParams,
InfiniteHitsCache,
InfiniteHitsCachedHits,
InfiniteHitsCachedItems,
} from 'instantsearch-core';
4 changes: 2 additions & 2 deletions tests/common/widgets/infinite-hits/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type { PlainSearchParameters } from 'algoliasearch-helper';
import type { BaseHit, SearchResponse } from 'instantsearch.js';
import type {
InfiniteHitsCache,
InfiniteHitsCachedHits,
InfiniteHitsCachedItems,
} from 'instantsearch.js/es/connectors/infinite-hits/connectInfiniteHits';

function normalizeSnapshot(html: string) {
Expand Down Expand Up @@ -677,7 +677,7 @@ function createCustomCache() {

let cachedState: PlainSearchParameters | undefined = undefined;

let cachedHits: InfiniteHitsCachedHits<Record<string, any>> | undefined =
let cachedHits: InfiniteHitsCachedItems<Record<string, any>> | undefined =
undefined;

type Cache = InfiniteHitsCache<Record<string, any>> & { clear: () => void };
Expand Down

0 comments on commit 1ba90e3

Please sign in to comment.