Skip to content

Commit

Permalink
chore(core): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 6, 2021
1 parent fb2457e commit 1bad048
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/swiper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ declare const Thumbs: SwiperModule;
declare const Virtual: SwiperModule;
declare const Zoom: SwiperModule;
declare const FreeMode: SwiperModule;
declare const Grid: SwiperModule;
declare const Manipulation: SwiperModule;

export default Swiper;
export {
Expand All @@ -47,4 +49,6 @@ export {
Virtual,
Zoom,
FreeMode,
Grid,
Manipulation,
};
2 changes: 2 additions & 0 deletions src/types/swiper-class.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,8 @@ interface Swiper extends SwiperClass<SwiperEvents> {
freeMode: FreeModeMethods;
}

interface Swiper extends ManipulationMethods {}

declare class Swiper implements Swiper {
/**
* Constructs a new Swiper instance.
Expand Down

0 comments on commit 1bad048

Please sign in to comment.