Skip to content

improve emit types for Splide component#66

Closed
rtabulov wants to merge 1 commit intoSplidejs:masterfrom
rtabulov:master
Closed

improve emit types for Splide component#66
rtabulov wants to merge 1 commit intoSplidejs:masterfrom
rtabulov:master

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

@rtabulov rtabulov closed this by deleting the head repository Jul 21, 2025
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.

1 participant