UNPKG

@algolia/autocomplete-js

Version:

Fast and fully-featured autocomplete JavaScript library.

11 lines (10 loc) 504 B
import { AutocompleteState as AutocompleteCoreState, BaseItem } from '@algolia/autocomplete-core'; import { AutocompleteCollection } from './AutocompleteCollection'; export declare type AutocompleteState<TItem extends BaseItem> = Omit<AutocompleteCoreState<TItem>, 'collections'> & { /** * The collections of items. * * @link https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/state/#param-collections */ collections: Array<AutocompleteCollection<TItem>>; };