chore: add types for emit
This commit is contained in:
parent
cb218ec0c3
commit
c56787443f
@ -47,7 +47,9 @@ const props = defineProps<{
|
|||||||
canCollapse?: boolean,
|
canCollapse?: boolean,
|
||||||
level?: number,
|
level?: number,
|
||||||
}>()
|
}>()
|
||||||
const emit = defineEmits(['update:modelValue'])
|
const emit = defineEmits<{
|
||||||
|
(e: 'update:modelValue', projects: IProject[]): void
|
||||||
|
}>()
|
||||||
|
|
||||||
const drag = ref(false)
|
const drag = ref(false)
|
||||||
const dragOptions = {
|
const dragOptions = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user