chore(CommandPalette): improve fuse.js import types .ts file

This commit is contained in:
Benjamin Canac
2024-07-23 14:17:58 +02:00
parent 8c531615ef
commit fcf46d7171
2 changed files with 4 additions and 4 deletions

View File

@@ -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
}