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
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: