Version
3.2.6
Reproduction link
https://gitee.com/ckang1229/vue-next-script-setup-issuse
Steps to reproduce
yarn
node build.js
What is expected?
props的type属性是可选的,导致生成dts文件时报错
What is actually happening?
将withDefaults.vue编译成withDefaults.ts后,props的type属性的类型应该不是可选的