From 8cbbb60d0cf2e6ec06281d4b72d7046712d516da Mon Sep 17 00:00:00 2001 From: Ruben Date: Thu, 23 Nov 2023 16:46:39 +0100 Subject: [PATCH] fix(types): :rotating_light: added an event fallback for when prefixes are used in events The TypeScript typing for custom events fails when there is a prefix present in the 'swipe-element'. --- src/swiper-element.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/swiper-element.d.ts b/src/swiper-element.d.ts index db2816131..e00d7e1b1 100644 --- a/src/swiper-element.d.ts +++ b/src/swiper-element.d.ts @@ -8,6 +8,10 @@ interface SwiperContainerEventMap extends Omit; } interface SwiperContainer extends HTMLElement {}