Avatar ·

Error "Property does not exist on type 'never'" in TypeScript when working with Vue.js

Hello! I'm a beginner in TypeScript and I'm using it with Vue.js 3. I have a problem that I've been unable to solve for several hours.\n\nI have a component that receives an array of objects through props and should display them in a list. But when I try to access a property of an object inside the array, TypeScript throws an error: "Property 'name' does not exist on type 'never'".\n\nHere's a simplified version of my component code:\n\n```typescript\n// ParentComponent.vue\n\n\n\n```\n\n```typescript\n// ChildComponent.vue\n