chore(sfc-playground): use type defineEmit

This commit is contained in:
Evan You 2021-03-29 16:36:40 -04:00
parent f5827fdf78
commit 2793bc0918

View File

@ -24,7 +24,7 @@ const props = defineProps({
}
})
const emit = defineEmit(['change'])
const emit = defineEmit<(e: 'change', value: string) => void>()
onMounted(() => {
const addonOptions = {