Skip to content

Commit e94bb2b

Browse files
committed
fix(list-index): fix types for indexes param
fixes #3970
1 parent 8523b8d commit e94bb2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/components/list-index/list-index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export namespace ListIndex {
3636
/** Related List View element. HTMLElement or string with CSS selector of List View element. */
3737
listEl?: HTMLElement | CSSSelector;
3838
/** Array with indexes. If not passed then it will automatically generate it based on item-divider and list-group-title elements inside of passed List View element in listEl parameter. (default auto) */
39-
indexes?: number[] | string; // ??
39+
indexes?: string[] | string; // ??
4040
/** Will automatically scroll related List View to the selected index. (default true) */
4141
scrollList?: boolean;
4242
/** Enables label bubble with selected index when you swipe over list index. (default false) */

0 commit comments

Comments
 (0)