-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
component element can't be typed correctlly #3237
Comments
You can work around the issue with dynamic components for the time being with something like:
|
@sfreytag vite vue2.7 doesn't support type assertion: |
I think this is the intended behavior. You have defined a required prop |
@so1ve you are right, but the error message is hard to understand here. |
这也没办法,转换出来的TSX类型就是这么又臭又长( |
考虑用 GPT 优化一下吧 ( |
You can install a vscode plugin called |
I reproduce this in latest volar starter: https://github.com/tjx666/volar-component-element-issue
The text was updated successfully, but these errors were encountered: