UNPKG

search-plus-ts

Version:
14 lines 297 B
//#region src/lib/search.d.ts interface getOptions<T> { data: T[]; keys: (keyof T)[]; threshold?: number; } declare class SearchPlusTs<T> { private fuse; private fuseOptions; constructor(getOptions: getOptions<T>); search(search: string): T[]; } //#endregion export { SearchPlusTs };