diff --git a/src/react/swiper-react.d.ts b/src/react/swiper-react.d.ts index 6a77b6286..e609cf752 100644 --- a/src/react/swiper-react.d.ts +++ b/src/react/swiper-react.d.ts @@ -82,8 +82,9 @@ interface SwiperProps | 'onKeyPress' | 'onDoubleClick' | 'onScroll' + | 'onResize' > {} -interface SwiperSlideProps extends React.HTMLAttributes {} +interface SwiperSlideProps extends Omit, 'children'> {} interface SwiperRef extends React.HTMLAttributes { swiper: SwiperClass;