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
Incorrect ts(2783) error when class attribute appear in template syntax more than once after update vue-tsc to latest version #2166
Comments
Getting the same error with this: <slot name="label" v-bind="{name}">
<!-- ... -->
</slot> Error:
|
From docs:
Unlike other attributes, |
Hello! I'm afraid the error case with a duplicate <slot name="label" v-bind="{name}">
<!-- ... -->
</slot> |
@sawmurai I think for |
I think this is kind of a special case because the first |
Thinking about it, maybe the special case here is |
@johnsoncodehk Do you want me to open a new issue maybe? |
Versions
"typescript": "^4.9.3",
"vue-tsc": "^1.0.10"
This cause an error that don't actually exist
Because vue sfc explicitly allow multi
class
andstyle
to exist at same time, vue-tsc should not report error on such usage.The template above outputs as
Which works totally fine and nothing is overwritten.
The text was updated successfully, but these errors were encountered: