Closed yuntian001 closed 1 year ago
vue3.3 allow
const emit = defineEmits<{ foo: [id: number] bar: [name: string, ...rest: any[]] }>()
But the error 'vue/valid-define-emits' is still reported
It's not released yet. See https://github.com/vuejs/eslint-plugin-vue/issues/2126
vue3.3 allow
But the error 'vue/valid-define-emits' is still reported