mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
fix comparison lint error
This commit is contained in:
@@ -670,7 +670,9 @@ function zoom() {
|
||||
|
||||
swiper.zoom.out();
|
||||
swiper.zoom.disable();
|
||||
swiper.zoom.enabled === false;
|
||||
|
||||
if (swiper.zoom.enabled) throw new Error('Zoom should be disabled!');
|
||||
|
||||
swiper.zoom.enable();
|
||||
swiper.zoom.in();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user