Coding task · Vue.js course · Module 15: TypeScript & Nuxt

Practice: TypeScript Interface

Create an interface for a station module and use it in defineProps.

Task

Define a ModuleProps interface and use defineProps with a generic type.