From ca0bc1359ff71adc18abc0ed9e4eb40f3cbc95d1 Mon Sep 17 00:00:00 2001 From: Axel Manuel Date: Thu, 26 Oct 2017 17:15:47 +0200 Subject: [PATCH] Carousel: Remove implicit any from .d.ts --- types/carousel.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/carousel.d.ts b/types/carousel.d.ts index d86015864..04f5414b3 100644 --- a/types/carousel.d.ts +++ b/types/carousel.d.ts @@ -36,18 +36,18 @@ export declare class ElCarousel extends ElementUIComponent { * * @param index Index of the slide to be switched to (starting from 0) */ - setActiveItem (index: number) + setActiveItem (index: number): void /** * Manually switch slide by carousel item's name * * @param name The name of the corresponding `el-carousel-item` */ - setActiveItem (name: string) + setActiveItem (name: string): void /** Switch to the previous slide */ - prev () + prev (): void /** Switch to the next slide */ - next () + next (): void }