UNPKG

@nuxt/ui

Version:

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.

6 lines (5 loc) 283 B
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>[]): string | undefined;