-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于使用 compiler-sfc 编译 script setup ts 文件的问题 #4455
Labels
Comments
Could you describe the error in more detail? |
I have the same problem,Please give me a solution |
yyx990803
pushed a commit
that referenced
this issue
Sep 2, 2021
yyx990803
added a commit
that referenced
this issue
Sep 2, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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属性的类型应该不是可选的
The text was updated successfully, but these errors were encountered: