https://i.sstatic.net/irjFP.png
Currently, I am facing an issue with a v-for loop in my Vue3 + TypeScript project. The error message keeps appearing despite following the correct syntax for passing props to a component. I have included the relevant code snippet below:
<script setup lang="ts">
import { ref } from "vue"
defineProps({
margin: {
type: Number,
default: 1
},
futurecashflow: {
type: Array,
default: [1,2]
},
});
</script>
I have tried various solutions, but this error has unexpectedly surfaced recently within the last week. Any insights or suggestions on resolving this issue would be greatly appreciated.