deploy: ebd4cc0010
This commit is contained in:
12
node_modules/@docsearch/react/dist/esm/stored-searches.d.ts
generated
vendored
12
node_modules/@docsearch/react/dist/esm/stored-searches.d.ts
generated
vendored
@@ -1,12 +0,0 @@
|
||||
import type { StoredDocSearchHit } from './types';
|
||||
declare type CreateStoredSearchesOptions = {
|
||||
key: string;
|
||||
limit?: number;
|
||||
};
|
||||
export declare type StoredSearchPlugin<TItem> = {
|
||||
add: (item: TItem) => void;
|
||||
remove: (item: TItem) => void;
|
||||
getAll: () => TItem[];
|
||||
};
|
||||
export declare function createStoredSearches<TItem extends StoredDocSearchHit>({ key, limit, }: CreateStoredSearchesOptions): StoredSearchPlugin<TItem>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user