When using fall through attributes, is there a way to ignore types? Props are successfully making their way from component A to B to C. I use $attrs in component B to forward and I declare props in component C. However there is a consistent Type Error on Component B not providing the correct props
<!-- Component A -->
<ComponentB :color="color" :width="23" />
<! -- Component B -->
<template>
<div>hello</div>
<!-- TypeError missing the following properties from type -->
<ComponentC
v-bind="$attrs"
/>
</template>
<! -- Component C -->
<script lang="ts" setup>
const props = withDefaults(
defineProps<{
color: string
width: number
}>
)
</script>
The best fix I can find is to include all the forwarded props in default value section