Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for vue 3.3 defineEmits #197

Closed
yuntian001 opened this issue May 13, 2023 · 1 comment
Closed

Support for vue 3.3 defineEmits #197

yuntian001 opened this issue May 13, 2023 · 1 comment

Comments

@yuntian001
Copy link

vue3.3 allow

const emit = defineEmits<{
  foo: [id: number]
  bar: [name: string, ...rest: any[]]
}>()

But the error 'vue/valid-define-emits' is still reported

@ota-meshi
Copy link
Member

ota-meshi commented May 13, 2023

It's not released yet.
See vuejs/eslint-plugin-vue#2126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants