Skip to content

Commit

Permalink
fix(CommandPalette): typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Apr 7, 2023
1 parent f845e89 commit cfce152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/navigation/CommandPaletteGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''
}
Expand Down

0 comments on commit cfce152

Please sign in to comment.