Closed
Description
when upgrade volar to ^0.34.9 , there is a ts warning Default export of the module has or is using private name 'Props'
at the top of template
//error info -> Default export of the module has or is using private name 'Props'. ts(4082)
<template>test</template>
<script lang="ts" setup>
//step1: declear type
interface Props {
foo: string;
}
// setp2: defineProps
defineProps<Props>();
</script>
but if definePorps like below, the warning disappear
<template>test</template>
<script lang="ts" setup>
defineProps<{
foo: string;
}>();
</script>