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(runtime-core): expose type using generics #10486

Closed
wants to merge 1 commit into from

Conversation

NoelDeMartin
Copy link
Contributor

Makes it consistent with the definition of defineExpose. Without this change, using the generic parameter on defineExpose throws a compilation error.

@NoelDeMartin NoelDeMartin changed the title Fix expose type using generics fix(runtime-core): expose type using generics Mar 9, 2024
Copy link

github-actions bot commented Mar 9, 2024

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 90.5 kB 34.4 kB 31 kB
vue.global.prod.js 148 kB 53.7 kB 47.9 kB

Usages

Name Size Gzip Brotli
createApp 50.7 kB 19.8 kB 18.1 kB
createSSRApp 54.1 kB 21.1 kB 19.3 kB
defineCustomElement 53 kB 20.6 kB 18.7 kB
overall 64.4 kB 24.8 kB 22.5 kB

Makes it consistent with the definition of defineExpose
@skirtles-code
Copy link
Contributor

Does this replace #8507?

@NoelDeMartin
Copy link
Contributor Author

Lol, it seems like I forgot that I had already opened this PR 😅. Thanks for the heads-up @skirtles-code, I'm closing this as a duplicate then.

I'm pinging one of the maintainers @sodatea to take a look, it seems like a fairly safe fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants