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: generic components should respect strictTemplates #3487

Merged
merged 4 commits into from Sep 6, 2023

Conversation

so1ve
Copy link
Member

@so1ve so1ve commented Aug 17, 2023

close #3201, close #3318, close vuejs/core#8969

@so1ve so1ve changed the title fix: should honor strictTemplates in generic components fix: generic components should honor strictTemplates Aug 17, 2023
@so1ve so1ve changed the title fix: generic components should honor strictTemplates fix: generic components should honor strictTemplates Aug 17, 2023
@so1ve so1ve changed the title fix: generic components should honor strictTemplates fix: generic components should respect strictTemplates Sep 2, 2023
@johnsoncodehk
Copy link
Member

Thanks for the PR, but this will break vue-tsc emit types (we currently lack tests for vue-tsc emit dts). I will look for a workaround.

@johnsoncodehk
Copy link
Member

The original fix has been superseded by 8e6a8a9, the new changes will not affect emit types.

@so1ve
Copy link
Member Author

so1ve commented Sep 6, 2023

Wow that would be nice! This commit fixed this issue on consumer side right?

@johnsoncodehk
Copy link
Member

This commit fixed this issue on consumer side right?

Right, we should avoid strictTemplates from affecting the definition side.

@johnsoncodehk johnsoncodehk merged commit cc78c5f into vuejs:master Sep 6, 2023
3 checks passed
@so1ve so1ve deleted the fix/generic-fallback branch September 6, 2023 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants