Coding task · Vue.js course · Module 15: TypeScript & Nuxt
Use InjectionKey for typed data passing.
Define an InjectionKey, use provide in the parent and inject in the child.