Skip to content

Commit

Permalink
fix(controller): add null type
Browse files Browse the repository at this point in the history
fixes #6505
  • Loading branch information
nolimits4web committed Mar 20, 2023
1 parent 8f48d7f commit 3177936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/modules/controller.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface ControllerOptions {
* Pass here another Swiper instance or array with Swiper instances that should be controlled
* by this Swiper. Also accepts string with CSS selector of Swiper element, or HTMLElement of Swiper element
*/
control?: Swiper | Swiper[] | string | HTMLElement;
control?: Swiper | Swiper[] | string | HTMLElement | null;

/**
* Set to `true` and controlling will be in inverse direction
Expand Down

0 comments on commit 3177936

Please sign in to comment.