fallthroughAttributes does not work with generic components #4884
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
Vue - Official extension or vue-tsc version
2.1.6
VSCode version
1.93.1
Vue version
5.4.8
TypeScript version
5.6.2
System Info
package.json dependencies
No response
Steps to reproduce
Check out the repro in playground link below.
It seems that all you need to break
fallthroughAttributes
is a generic component as the wrapper.What is expected?
In playground, I expect completion for
:str
, which is a props ofComp2
, that is wrapped byComp1
with fallthrough.What is actually happening?
I don't get completion.
Note that all it takes to fix it is to remove the
generic="T"
inComp1
. If the wrapper is not generic, it seems to work.Link to minimal reproduction
https://play.vuejs.org/#eNqNUk1r3DAQ/StTXTaFYNNtC8U4C2kJtD20oQ30Iihee+xVKktCGm0XjP97RjbxZkMSchHz+ebN6A3i0rlsH1EUogy1V44gIEW3kUb1znqCATy2MELrbQ8rLl0tqS+2d+/mhBRZPrkJTApppKmtCQR96OAiQZytvqLWFv5Yr5s3q7fSlPk8kWexQ9g7XRGyB1DO0EV1IcUHKSDnaJk/KBHnggJPaFWX3QZrmP+QGqWouVNp9D8dKWYgRQFTJuUqJvD/+xQjH/H8Pl7vsP73RPw2HFJMimuPAf2eN1tyVPkOaU5f/f6BB7aXZG+bqLn6heQvDFbHxHEu+xxNw7Qf1E1sv02nVqa7CVcHQhPul0pEU+U41UvBd09He271ltFo523sdpdEXm0j4SmONCNfdfnEx4oAXZmOv4O4Czo06FXN7g3wcmiawELZFmBiv0XPYOKooAS5PpXJ+iiTBltl8NpbF8oBqiPE5uwVGllvBm6CcSxn3Cd0ssx7aSMuPSUSyBfp4cu/gkqj9pPBZtCWJr2ync/xx4z+7tGnf2RC77OP2Scx3gEwRi8l
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: