Put in order · Vue.js course · Module 15: TypeScript & Nuxt
Component Communication with Types
Arrange the data flow in typed parent-child communication:
Items to put in order
- Parent passes typed props to the child
- Parent handles the event with correct argument types
- Child defines defineEmits with types
- Child emits an event with typed data
You can check the correct answer by solving this task in the CodeWorlds game.