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: use universal __VLS_ConstructorOverloads when emits type is not inlined #3585

Merged
merged 19 commits into from
Sep 23, 2023

Conversation

so1ve
Copy link
Member

@so1ve so1ve commented Sep 23, 2023

close #3542

Most of the types come from @ShenQingchuan, thanks a lot!

@so1ve so1ve changed the title fix: completely remove generated __VLS_ConstructorOverloads fix: don't generate __VLS_ConstructorOverloads when emits type is not inlined Sep 23, 2023
@so1ve so1ve changed the title fix: don't generate __VLS_ConstructorOverloads when emits type is not inlined fix: use isomorphic __VLS_ConstructorOverloads when emits type is not inlined Sep 23, 2023
@johnsoncodehk
Copy link
Member

This is 🔥, thanks! @so1ve @ShenQingchuan

@johnsoncodehk johnsoncodehk merged commit c466f51 into vuejs:master Sep 23, 2023
3 checks passed
@so1ve so1ve deleted the fix/issue-3542 branch September 24, 2023 02:14
@so1ve
Copy link
Member Author

so1ve commented Sep 24, 2023

@johnsoncodehk Since we are doing a lot of gymnastics here, maybe we can keep the original implementation (generated version) for better performance?

@so1ve so1ve changed the title fix: use isomorphic __VLS_ConstructorOverloads when emits type is not inlined fix: use universal __VLS_ConstructorOverloads when emits type is not inlined Sep 25, 2023
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.

vue-tsc creates a declaration with only eight events described with defineEmits
2 participants