Coding task · Vue.js course · Module 7: Props & Events
Validate emitted events like a transmission protocol checks packets.
Create a component with defineEmits that validates the payload (object syntax).