Skip to content

Commit

Permalink
chore(sfc-playground): use type defineEmit
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 29, 2021
1 parent f5827fd commit 2793bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sfc-playground/src/codemirror/CodeMirror.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const props = defineProps({
}
})
const emit = defineEmit(['change'])
const emit = defineEmit<(e: 'change', value: string) => void>()
onMounted(() => {
const addonOptions = {
Expand Down

0 comments on commit 2793bc0

Please sign in to comment.