mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 06:51:46 +01:00
fix(playground): typecheck
This commit is contained in:
@@ -180,7 +180,7 @@ const groups = computed(() => {
|
||||
}
|
||||
|
||||
acc[item.group] ||= []
|
||||
acc[item.group].push({ ...item, matches })
|
||||
acc[item.group]?.push({ ...item, matches })
|
||||
|
||||
return acc
|
||||
}, {} as Record<string, (T & { matches?: FuseResult<T>['matches'] })[]>)
|
||||
|
||||
Reference in New Issue
Block a user