@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
6 lines (5 loc) • 309 B
TypeScript
import type { FuseResult } from 'fuse.js';
import type { GetItemKeys } from '../types/utils';
export declare function highlight<T>(item: T & {
matches?: FuseResult<T>['matches'];
}, searchTerm: string, forceKey?: GetItemKeys<T>, omitKeys?: GetItemKeys<T>[], useTokenSearch?: boolean): string | undefined;