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

improve emit types for Splide component #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rtabulov
Copy link

@rtabulov rtabulov commented Apr 17, 2022

Related Issues

didn't add an issue, because there is only a template for a bug, this pr is for improvement

Description

at the moment typescript cannot hint Splide component's emits because it is of type string[]

in other words this pr turns this

image

into this
image

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.

None yet

1 participant