chore(sfc-playground): use type defineEmit
This commit is contained in:
parent
f5827fdf78
commit
2793bc0918
@ -24,7 +24,7 @@ const props = defineProps({
|
||||
}
|
||||
})
|
||||
|
||||
const emit = defineEmit(['change'])
|
||||
const emit = defineEmit<(e: 'change', value: string) => void>()
|
||||
|
||||
onMounted(() => {
|
||||
const addonOptions = {
|
||||
|
Loading…
Reference in New Issue
Block a user