chore(editor): use typed props definition

This commit is contained in:
kolaente 2023-06-13 15:48:55 +02:00
parent ca0d9e6bd5
commit c58ad47782
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 5 deletions

View File

@ -72,11 +72,10 @@ const CustomTableCell = TableCell.extend({
}, },
}) })
const props = defineProps({ const props = withDefaults(defineProps<{
modelValue: { modelValue?: string,
type: String as PropType<string>, }>(), {
default: '', modelValue: '',
},
}) })
const emit = defineEmits(['update:modelValue', 'change']) const emit = defineEmits(['update:modelValue', 'change'])