Skip to content

Commit

Permalink
fix(types): add modules parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 4, 2021
1 parent 10a4576 commit 0d599e2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/types/swiper-options.d.ts
Expand Up @@ -19,10 +19,14 @@ import { VirtualOptions } from './modules/virtual';
import { ZoomOptions } from './modules/zoom';
import { FreeModeOptions } from './modules/free-mode';

import { CSSSelector } from './shared';
import { CSSSelector, SwiperModule } from './shared';
import { SwiperEvents } from './swiper-events';

export interface SwiperOptions {
/**
* Array with Swiper modules
*/
modules?: SwiperModule[];
/**
* Whether Swiper should be initialised automatically when you create an instance.
* If disabled, then you need to init it manually by calling `swiper.init()`
Expand Down

0 comments on commit 0d599e2

Please sign in to comment.