Type issues with Transition and latest Vue 2.x #3881
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
With latest Vue 2 version (currently
2.7.16
) this code creates a type issue:The issue appears to be due to
@vue/compiler-dom
adding apersisted
prop to thetransition
node when parsing such construct and Volar adding it to the generated template code which, combined with the latest version of Vue 2 which includes proper types for theTransition
component, causes this issue. Previously the type of Transition component was something less strict orunknown
so there was no issue.(there is also an issue with using a
key
attribute but that is maybe an issue with Vue types)The text was updated successfully, but these errors were encountered: