chore(editor): use typed props definition
This commit is contained in:
parent
ca0d9e6bd5
commit
c58ad47782
@ -72,11 +72,10 @@ const CustomTableCell = TableCell.extend({
|
||||
},
|
||||
})
|
||||
|
||||
const props = defineProps({
|
||||
modelValue: {
|
||||
type: String as PropType<string>,
|
||||
default: '',
|
||||
},
|
||||
const props = withDefaults(defineProps<{
|
||||
modelValue?: string,
|
||||
}>(), {
|
||||
modelValue: '',
|
||||
})
|
||||
|
||||
const emit = defineEmits(['update:modelValue', 'change'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user