Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: compatible with TS 5.1.3 #3277

Merged
merged 3 commits into from Jun 13, 2023
Merged

fix: compatible with TS 5.1.3 #3277

merged 3 commits into from Jun 13, 2023

Conversation

johnsoncodehk
Copy link
Member

Changes:

  • Types include unresolved imports will be turned into any microsoft/TypeScript#54630 is not only affected by module types, it is also affected by the __VLS_componentProps virtual code that breaks the event type checking, we move & {} inside __VLS_PickNotAny to fix it.

  • Now always respect vueCompilerOptions.htmlAttributes (it used to only work when strictTemplates was enabled), otherwise valid virtual code for TS 5.1.3 cannot be generated. Since this option reduces virtual code, there may be a little TS performance improvement.

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.

None yet

1 participant