Skip to content

fix(types): 🚨 added an event fallback for when prefixe…#7207

Open
GNURub wants to merge 1 commit intonolimits4web:masterfrom
GNURub:fix-events-with-prefix
Open

fix(types): 🚨 added an event fallback for when prefixe…#7207
GNURub wants to merge 1 commit intonolimits4web:masterfrom
GNURub:fix-events-with-prefix

Conversation

@GNURub
Copy link
Contributor

@GNURub GNURub commented Nov 23, 2023

When a prefix is added (now defaulting to 'swiper'), the CustomEvent<[swiper: Swiper]> is not detected in the typing for the swiper-element.

…vents

The TypeScript typing for custom events fails when there is a prefix present in the 'swipe-element'.
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