Vue - Official extension or vue-tsc version
3.2.9、3.3.0
VSCode version
1.120.0
Vue version
3.5
TypeScript version
6.0
Steps to reproduce
<template>
<Parent>
<template #default>default slot</template>
<template v-if="showHeader" #header>header slot</template>
</Parent>
</template>
<script setup lang="ts">
import { ref } from 'vue';
import Parent from './parent.vue';
const showHeader = ref(true);
</script>
What is expected?
No diagnostic should be reported.
What is actually happening?
Extraneous children found when component already has explicitly named default slot. These children will be ignored.
Link to minimal reproduction
No response
Any additional comments?
No response
Vue - Official extension or vue-tsc version
3.2.9、3.3.0
VSCode version
1.120.0
Vue version
3.5
TypeScript version
6.0
Steps to reproduce
What is expected?
No diagnostic should be reported.
What is actually happening?
Link to minimal reproduction
No response
Any additional comments?
No response