@@ -28,7 +28,7 @@ import { makeVTextFieldProps } from '@/components/VTextField/VTextField'
28
28
// Types
29
29
import type { FilterMatch } from '@/composables/filter'
30
30
import type { InternalItem } from '@/composables/items'
31
- import type { MakeSlots , SlotsToProps } from '@/util'
31
+ import type { GenericProps } from '@/util'
32
32
import type { VFieldSlots } from '@/components/VField/VField'
33
33
import type { VInputSlots } from '@/components/VInput/VInput'
34
34
@@ -64,24 +64,20 @@ export const VAutocomplete = genericComponent<new <
64
64
ReturnObject extends boolean = false ,
65
65
Multiple extends boolean = false ,
66
66
V extends Value < T , ReturnObject , Multiple > = Value < T , ReturnObject , Multiple >
67
- > ( ) => {
68
- $props : {
69
- items ?: readonly T [ ]
70
- returnObject ?: ReturnObject
71
- multiple ?: Multiple
72
- modelValue ?: V
73
- 'onUpdate:modelValue' ?: ( val : V ) => void
74
- } & SlotsToProps <
75
- Omit < VInputSlots & VFieldSlots , 'default' > & MakeSlots < {
76
- item : [ { item : InternalItem < T > , index : number , props : Record < string , unknown > } ]
77
- chip : [ { item : InternalItem < T > , index : number , props : Record < string , unknown > } ]
78
- selection : [ { item : InternalItem < T > , index : number } ]
79
- 'prepend-item' : [ ]
80
- 'append-item' : [ ]
81
- 'no-data' : [ ]
82
- } >
83
- >
84
- } > ( ) ( {
67
+ > ( props : {
68
+ items ?: readonly T [ ]
69
+ returnObject ?: ReturnObject
70
+ multiple ?: Multiple
71
+ modelValue ?: V
72
+ 'onUpdate:modelValue' ?: ( val : V ) => void
73
+ } ) => GenericProps < typeof props , Omit < VInputSlots & VFieldSlots , 'default' > & {
74
+ item : [ { item : InternalItem < T > , index : number , props : Record < string , unknown > } ]
75
+ chip : [ { item : InternalItem < T > , index : number , props : Record < string , unknown > } ]
76
+ selection : [ { item : InternalItem < T > , index : number } ]
77
+ 'prepend-item' : [ ]
78
+ 'append-item' : [ ]
79
+ 'no-data' : [ ]
80
+ } > > ( ) ( {
85
81
name : 'VAutocomplete' ,
86
82
87
83
props : {
0 commit comments