From 3317f5e63a7b3d9f23809c00807b6584c390139c Mon Sep 17 00:00:00 2001 From: Kevin Renskers Date: Fri, 20 Jan 2023 08:24:56 +0100 Subject: [PATCH] fix(svelte): autoplay options typescript problem (#6294) Fixes https://github.com/nolimits4web/swiper/issues/5571 --- src/svelte/swiper-svelte.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/svelte/swiper-svelte.d.ts b/src/svelte/swiper-svelte.d.ts index 0e5f8d097..cd42e519f 100644 --- a/src/svelte/swiper-svelte.d.ts +++ b/src/svelte/swiper-svelte.d.ts @@ -2,8 +2,7 @@ import { SvelteComponentTyped } from 'svelte'; import { SwiperOptions, Swiper as SwiperClass } from '../types/'; // @ts-ignore -interface SwiperProps extends svelte.JSX.HTMLAttributes {} -interface SwiperProps extends SwiperOptions {} +interface SwiperProps extends SwiperOptions, svelte.JSX.HTMLAttributes {} // @ts-ignore interface SwiperSlideProps extends svelte.JSX.HTMLAttributes {