fix(types): add missing field in command palette type (#111)

This commit is contained in:
Baptiste Leproux
2022-11-02 16:04:50 +01:00
committed by GitHub
parent e521e1ac24
commit 28586c35a5

View File

@@ -14,6 +14,7 @@ export interface Command {
group?: string
score?: number
matches?: (FuseSortFunctionMatch | FuseSortFunctionMatchList)[]
[key: string]: any
}
export interface Group {
@@ -22,4 +23,5 @@ export interface Group {
inactive?: string
commands: Command[]
options?: Partial<UseFuseOptions<Command>>
[key: string]: any
}