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): declare generic in expose setup context #8507

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

NoelDeMartin
Copy link
Contributor

The defineExpose method takes an optional generic to declare the type of the exposed object (it was introduced in #5035). However, it seems like that generic is missing from the type definitions in another file.

I found this error because I'm authoring a library with components that are declared using the generic, but the compiled code is using this other type without the generic and it throws an error.

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

Successfully merging this pull request may close these issues.

2 participants