Skip to content

Commit

Permalink
feat(svelte): types for SwiperSlide slot data
Browse files Browse the repository at this point in the history
fixes #5349
  • Loading branch information
nolimits4web committed Jan 25, 2022
1 parent f0eac04 commit 1fa70e1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/svelte/swiper-svelte.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,15 @@ declare class SwiperSlide extends SvelteComponentTyped<
SwiperSlideProps,
{},
{
default: {};
default: {
data: {
isActive: boolean;
isVisible: boolean;
isDuplicate: boolean;
isPrev: boolean;
isNext: boolean;
};
};
}
> {}

Expand Down

0 comments on commit 1fa70e1

Please sign in to comment.