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

@@ -12,7 +12,7 @@ const props = defineProps<{
}>()
defineEmits<{
(e: "query:date-jump", payload: RPGDate): void
"query:date-jump": [payload: RPGDate]
}>()
const { getFormattedDateTitle } = useCalendar()

View File

@@ -10,7 +10,7 @@ const props = defineProps<{
}>()
defineEmits<{
(e: "query:date-jump", payload: RPGDate): void
"query:date-jump": [payload: RPGDate]
}>()
const { getRelativeString, defaultDate, getFormattedDateTitle } = useCalendar()