mirror of https://github.com/ElemeFE/element
Carousel: Remove implicit any from .d.ts
parent
407fd70ba6
commit
ca0bc1359f
|
@ -36,18 +36,18 @@ export declare class ElCarousel extends ElementUIComponent {
|
||||||
*
|
*
|
||||||
* @param index Index of the slide to be switched to (starting from 0)
|
* @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
|
* Manually switch slide by carousel item's name
|
||||||
*
|
*
|
||||||
* @param name The name of the corresponding `el-carousel-item`
|
* @param name The name of the corresponding `el-carousel-item`
|
||||||
*/
|
*/
|
||||||
setActiveItem (name: string)
|
setActiveItem (name: string): void
|
||||||
|
|
||||||
/** Switch to the previous slide */
|
/** Switch to the previous slide */
|
||||||
prev ()
|
prev (): void
|
||||||
|
|
||||||
/** Switch to the next slide */
|
/** Switch to the next slide */
|
||||||
next ()
|
next (): void
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue