From 19a38d6fc52f8e347d08f6f14b7f79f495a4537e Mon Sep 17 00:00:00 2001 From: Baptiste Leproux Date: Mon, 31 Oct 2022 17:42:09 +0100 Subject: [PATCH] optionnal --- src/runtime/types/command-palette.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/types/command-palette.d.ts b/src/runtime/types/command-palette.d.ts index ecf33d9316..12b78ec24a 100644 --- a/src/runtime/types/command-palette.d.ts +++ b/src/runtime/types/command-palette.d.ts @@ -3,7 +3,7 @@ import type { FuseSortFunctionMatch, FuseSortFunctionMatchList } from 'fuse.js' import type { Avatar } from './avatar' export interface Command { id: string | number - label: string + label?: string prefix?: string suffix?: string icon?: string @@ -19,7 +19,7 @@ export interface Command { export interface Group { key: string - label: string + label?: string active?: string inactive?: string commands: Command[]