Skip to content

Commit

Permalink
fix(svelte): autoplay options typescript problem (#6294)
Browse files Browse the repository at this point in the history
Fixes #5571
  • Loading branch information
kevinrenskers authored Jan 20, 2023
1 parent b9609c6 commit 3317f5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/svelte/swiper-svelte.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { SvelteComponentTyped } from 'svelte';
import { SwiperOptions, Swiper as SwiperClass } from '../types/';

// @ts-ignore
interface SwiperProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div']> {}
interface SwiperProps extends SwiperOptions {}
interface SwiperProps extends SwiperOptions, svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div']> {}

// @ts-ignore
interface SwiperSlideProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['div']> {
Expand Down

0 comments on commit 3317f5e

Please sign in to comment.