@@ -251,13 +251,15 @@ export interface UseComboboxInputValueChange<
251251
252252export interface UseComboboxGetMenuPropsOptions extends React . HTMLProps < HTMLElement > {
253253 refKey ?: string
254- ref ?: React . Ref < HTMLElement >
254+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
255+ ref ?: React . Ref < any >
255256}
256257
257258export interface UseComboboxGetMenuPropsReturnValue {
258259 'aria-label' : string | undefined
259260 'aria-labelledby' : string | undefined
260- ref ?: React . Ref < HTMLElement >
261+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
262+ ref ?: React . Ref < any >
261263 role : 'listbox'
262264 id : string
263265 onMouseLeave : React . MouseEventHandler
@@ -271,7 +273,8 @@ export type UseComboboxGetMenuProps = <Options>(
271273export interface UseComboboxGetToggleButtonPropsOptions extends React . HTMLProps < HTMLElement > {
272274 disabled ?: boolean
273275 refKey ?: string
274- ref ?: React . Ref < HTMLElement >
276+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
277+ ref ?: React . Ref < any >
275278 onPress ?: ( event : React . BaseSyntheticEvent ) => void
276279}
277280
@@ -281,7 +284,8 @@ export interface UseComboboxGetToggleButtonPropsReturnValue {
281284 id : string
282285 onPress ?: ( event : React . BaseSyntheticEvent ) => void
283286 onClick ?: React . MouseEventHandler
284- ref ?: React . Ref < HTMLElement >
287+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
288+ ref ?: React . Ref < any >
285289 tabIndex : - 1
286290}
287291
@@ -307,7 +311,8 @@ export interface UseComboboxGetItemPropsOptions<
307311 index ?: number
308312 item ?: Item
309313 refKey ?: string
310- ref ?: React . Ref < HTMLElement >
314+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
315+ ref ?: React . Ref < any >
311316 onPress ?: ( event : React . BaseSyntheticEvent ) => void
312317}
313318
@@ -319,7 +324,8 @@ export interface UseComboboxGetItemPropsReturnValue {
319324 onMouseDown ?: React . MouseEventHandler
320325 onMouseMove ?: React . MouseEventHandler
321326 onPress ?: React . MouseEventHandler
322- ref ?: React . Ref < HTMLElement >
327+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
328+ ref ?: React . Ref < any >
323329 role : 'option'
324330}
325331
@@ -337,7 +343,8 @@ export interface UseComboboxGetInputPropsOptions extends React.HTMLProps<HTMLInp
337343}
338344
339345export interface UseComboboxGetInputPropsReturnValue {
340- ref ?: React . Ref < HTMLElement >
346+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- element type unknown at declaration site
347+ ref ?: React . Ref < any >
341348 'aria-activedescendant' : string
342349 'aria-autocomplete' : 'list'
343350 'aria-controls' : string
0 commit comments