File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
typings/jquery-autocomplete Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ interface JQueryAutocompleteOptions {
130
130
* Callback function or lookup array for the suggestions. It may be array of strings or suggestion object literals.
131
131
* -> suggestion: An object literal with the following format: { value: 'string', data: any }.
132
132
*/
133
- lookup ?: AutocompleteSuggestion [ ] ;
133
+ lookup ?: Function | AutocompleteSuggestion [ ] ;
134
134
135
135
/**
136
136
* Filter function for local lookups. By default it does partial string match (case insensitive).
@@ -184,7 +184,8 @@ interface JQueryAutocompleteOptions {
184
184
/**
185
185
* Property name of the suggestion data object, by which results should be grouped.
186
186
*/
187
- groupBy ?: AutocompleteSuggestion | AutocompleteSuggestion [ ] ;
187
+ groupBy ?: string ;
188
+
188
189
/**
189
190
* Maximum height of the suggestions container in pixels.
190
191
* @default 300
@@ -353,10 +354,6 @@ interface JQuery {
353
354
*/
354
355
autocomplete ( methodName : "dispose" ) : AutocompleteInstance ;
355
356
356
- }
357
-
358
- interface JQuery {
359
-
360
357
/**
361
358
* Create Autocomplete component via plugin alias
362
359
*/
You can’t perform that action at this time.
0 commit comments