fallthroughAttributes
breaks checking with dynamic components
#4814
Labels
bug
Something isn't working
fallthroughAttributes
breaks checking with dynamic components
#4814
Vue - Official extension or vue-tsc version
2.1.6
VSCode version
1.92.2
Vue version
3.5.1
TypeScript version
5.5.4
System Info
No response
package.json dependencies
Listed the ones used in the reproduction
Steps to reproduce
npm run check
. 2 errors will be reportedJTransition
file to eitherTransition
orTransitionGroup
. Checking will pass as expected.What is expected?
JTransition
fallthroughAttributes is the union of the types of the:is
expression in dynamic components (ideally, it also creates a type based on the truthiness of the passed expression if it depends on props, but probably that's a limitation impossible to be solved properly in all the underlying use cases. I think the union of them is fine already).What is actually happening?
All the type information of the
JTransition
component is missing::is
expression of the underlying component.Link to minimal reproduction
https://stackblitz.com/edit/vue3-vite-typescript-starter-ywtm6e?file=src%2FApp.vue
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: