Generic components fail when used with `withDefaults`
Reproducible example:
<script setup lang="ts" generic="T">
const props = withDefaults(defineProps<{
modelValue: T;
title?: string;
}>(), {
title: 'Hello',
});
</script>
Screenshot of the error:
reference: https://github.com/vuejs/core/issues/8310
@jd-solanki No, this is a different issue from vuejs/core#8310.
@xiaoxiangmoe is the same error as #8310
@jd-solanki @Anubarak After discussion with pikax, we update demo of #8310 . This is same error now.