Changed defineEmits to be more legible

This commit is contained in:
Alexis
2025-05-07 13:37:23 +02:00
parent 09cd25ce33
commit 896bac5f83
9 changed files with 15 additions and 23 deletions

View File

@@ -13,7 +13,7 @@ const { category } = defineProps<{
}>()
const emit = defineEmits<{
(e: "on-delete-category", payload: Category): void
"on-delete-category": [payload: Category]
}>()
type RowMode = "edit" | "view"