From 61ecf34ae40fa53cc84eabc7b7413738b32fa040 Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Wed, 27 Apr 2016 10:29:19 -0700 Subject: [PATCH] Remove implicit anys in swiper --- swiper/swiper.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/swiper/swiper.d.ts b/swiper/swiper.d.ts index f3c906710d..4b256e5a80 100644 --- a/swiper/swiper.d.ts +++ b/swiper/swiper.d.ts @@ -85,8 +85,8 @@ interface SwiperOptions { onSlideTouch?: (swiper: Swiper) => void; onImagesReady?: (swiper: Swiper) => void; onMomentumBounce?: (swiper: Swiper) => void; - onResistanceBefore?: (swiper: Swiper, distance) => void; - onResistanceAfter?: (swiper: Swiper, distance) => void; + onResistanceBefore?: (swiper: Swiper, distance: any) => void; + onResistanceAfter?: (swiper: Swiper, distance: any) => void; // Slides Loader loader?: { @@ -126,8 +126,8 @@ declare class Swiper { // Properties width: number; height: number; - params; - positions; + params: any; + positions: any; // Feature detection support: { @@ -156,7 +156,7 @@ declare class Swiper { updateActiveSlide(index: number): void; // Events - touches; + touches: any; isTouched: boolean; clickedSlideIndex: number; clickedSlide: SwiperSlide; @@ -175,7 +175,7 @@ declare class Swiper { // Other methods getWrapperTranslate(axis: string): number; // 'x' or 'y' setWrapperTranslate(x: number, y: number, z: number): void; - setWrapperTransition(duration): void; + setWrapperTransition(duration: any): void; // Slides API slides: SwiperSlide[];