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