Skip to content

Conversation

@rchl
Copy link
Collaborator

@rchl rchl commented Feb 1, 2024

Explained all in #3881

Fixes #3881

@rchl rchl changed the base branch from master to v1 February 1, 2024 16:40
continue;
}

if (vueCompilerOptions.target < 3 && node.tag === 'transition' && prop.name === 'persisted') {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What will happen the tag is Transition?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I thought it's normalized by the compiler.

@rchl
Copy link
Collaborator Author

rchl commented Feb 1, 2024

Note that for some reason the error on this test does not reproduce when opening that file in VSCode and I totally don't get why. Seems like generated template doesn't include the persisted property there.

But regardless of that, it's a real issue that shows up with vue-tsc and also with LSP-volar in Sublime Text.

EDIT: I've analyzed and explained that behavior in the linked issue.

@rchl

This comment was marked as outdated.

@rchl

This comment was marked as outdated.

@johnsoncodehk
Copy link
Member

LGTM, thanks!

@johnsoncodehk johnsoncodehk merged commit 89c38ef into vuejs:v1 Feb 29, 2024
@rchl rchl deleted the fix/transition branch February 29, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type issues with Transition and latest Vue 2.x

3 participants