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

Make use of the generic attribute to provide better typing #282

Open
filipsobol opened this issue Jun 26, 2024 · 0 comments · May be fixed by #281
Open

Make use of the generic attribute to provide better typing #282

filipsobol opened this issue Jun 26, 2024 · 0 comments · May be fixed by #281

Comments

@filipsobol
Copy link
Member

We should consider using the generic attribute introduced in Vue 3.3 to provide better typings for component events.

Currently, the type of editor passed to the editor prop is ignored and all events (@ready, @focus, @blur, @input) use the generic Editor type, which is inaccurate.

@filipsobol filipsobol linked a pull request Jun 26, 2024 that will close this issue
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 a pull request may close this issue.

1 participant