-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Vue 3.3.4. defineEmits doesn't setup extended events #8465
Labels
❗ p4-important
Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.
scope: compiler
scope: script-setup
Comments
Before the fix gets merged, you can use https://github.com/unplugin/unplugin-vue-complex-types as a temporal solution. |
yyx990803
added
the
❗ p4-important
Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.
label
Nov 9, 2023
yyx990803
pushed a commit
that referenced
this issue
Nov 10, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
❗ p4-important
Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.
scope: compiler
scope: script-setup
Vue version
3.3.4
Link to minimal reproduction
https://github.com/tragid/vue-default-export-error/tree/vue-3.3.4-emit-errors
Steps to reproduce
interface ComponentEmits extends BaseEmits {
(e: 'blur-event', value: string): void;
(e: 'focus-event', value: string): void;
}
const emit = defineEmits();
What is expected?
defineEmits can support extended events
What is actually happening?
Facing runtime exceptions on DEV and not setup extended emits on prod:
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: