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

@@ -10,7 +10,7 @@ const props = defineProps<{
}>()
const emits = defineEmits<{
(e: "update:modelValue", payload: string | number): void
"update:modelValue": [payload: string | number]
}>()
const modelValue = useVModel(props, "modelValue", emits, {