mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
fix(CommandPalette): typecheck
This commit is contained in:
@@ -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 ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user