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({
|
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'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user