diff --git a/src/runtime/components/navigation/CommandPaletteGroup.vue b/src/runtime/components/navigation/CommandPaletteGroup.vue index 506e502065..08239d4dff 100644 --- a/src/runtime/components/navigation/CommandPaletteGroup.vue +++ b/src/runtime/components/navigation/CommandPaletteGroup.vue @@ -89,7 +89,7 @@ const label = computed(() => { return typeof label === 'function' ? label(props.query) : label }) -function highlight (text, { indices, value }: { indices: number[][], value:string }): string { +function highlight (text: string, { indices, value }: { indices: number[][], value:string }): string { if (text === value) { return '' }