Skip to content

Commit

Permalink
fix(types): replace index with number (#1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
silviuaavram authored Apr 3, 2024
1 parent b7f6765 commit 74ce0f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ export interface UseSelectSelectedItemChange<Item>

export interface UseSelectHighlightedIndexChange<Item>
extends UseSelectStateChange<Item> {
highlightedIndex: index
highlightedIndex: number
}

export interface UseSelectIsOpenChange<Item>
Expand Down Expand Up @@ -615,7 +615,7 @@ export interface UseComboboxSelectedItemChange<Item>
}
export interface UseComboboxHighlightedIndexChange<Item>
extends UseComboboxStateChange<Item> {
highlightedIndex: index
highlightedIndex: number
}

export interface UseComboboxIsOpenChange<Item>
Expand Down

0 comments on commit 74ce0f5

Please sign in to comment.