mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 23:11:43 +01:00
chore(CommandPalette): improve fuse.js import types .ts file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { FuseSortFunctionMatch, FuseSortFunctionMatchList } from 'fuse.js'
|
||||
import Fuse from 'fuse.js'
|
||||
import type { Avatar } from './avatar'
|
||||
|
||||
export interface Command {
|
||||
@@ -13,7 +13,7 @@ export interface Command {
|
||||
shortcuts?: string[]
|
||||
group?: string
|
||||
score?: number
|
||||
matches?: (FuseSortFunctionMatch | FuseSortFunctionMatchList)[]
|
||||
matches?: Fuse.FuseResultMatch[]
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user