Generic & Falltrough Attributes: Object literal may only specify known properties... #3318
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
Vue version
3.3.4
Description
If the component is generic vue-tsc complains when an html attribute is bound to it.
What is expected?
I expect to bind any html attribute to a component without errors.
What is actually happening?
Volar and vue-tsc show an error on the first attribute, thinking that it's a prop and it needs to be defined on the child component.
REPRO
Open: stackblitz
Run:
npx vue-tsc
Full Error:
Probably related issues:
#3201
The text was updated successfully, but these errors were encountered: