From 8ea322307107440ffdd46944a33ba519b2350343 Mon Sep 17 00:00:00 2001 From: Sylvain Marroufin Date: Wed, 2 Nov 2022 10:50:40 +0100 Subject: [PATCH] chore(typescript): minor fixes (#110) --- src/runtime/components/navigation/CommandPalette.vue | 2 +- src/runtime/components/overlays/ContextMenu.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/runtime/components/navigation/CommandPalette.vue b/src/runtime/components/navigation/CommandPalette.vue index f646cb6a..f08237e8 100644 --- a/src/runtime/components/navigation/CommandPalette.vue +++ b/src/runtime/components/navigation/CommandPalette.vue @@ -166,7 +166,7 @@ const groups = computed(() => map(groupBy(results.value, command => command.item return { ...props.groups.find(group => group.key === key), commands: commands.slice(0, options.value.resultLimit) - } + } as Group })) // Methods diff --git a/src/runtime/components/overlays/ContextMenu.vue b/src/runtime/components/overlays/ContextMenu.vue index 1d354b0f..a86ee963 100644 --- a/src/runtime/components/overlays/ContextMenu.vue +++ b/src/runtime/components/overlays/ContextMenu.vue @@ -9,7 +9,8 @@