UNPKG
@nullpixel/ui
Version:
latest (3.0.1)
3.0.1
A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
ui.nuxt.com
nuxt/ui
@nullpixel/ui
/
dist
/
runtime
/
utils
/
fuse.d.ts
5 lines
(4 loc)
•
216 B
TypeScript
View Raw
1
2
3
4
5
import
type
{
FuseResult
}
from
'fuse.js'
;
export
declare
function
highlight<T>(
item
: T & {
matches
?:
FuseResult
<T>[
'matches'
]; },
searchTerm
:
string
,
forceKey
?:
string
,
omitKeys
?:
string
[]):
string
|
undefined
;