Vue -Objekt -Array im Argument definieprops
<script setup lang="ts">
import { defineProps, type PropType } from "vue";
defineProps({
type: Array as PropType<MyObject[]>,
required: true,
validator: ...
})
</script>
Lawliet