Skip to content

Commit bfd9899

Browse files
authored
Update jquery.autocomplete.d.ts - Update lookup definition
1 parent d556a87 commit bfd9899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/jquery-autocomplete/jquery.autocomplete.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ interface JQueryAutocompleteOptions {
130130
* Callback function or lookup array for the suggestions. It may be array of strings or suggestion object literals.
131131
* -> suggestion: An object literal with the following format: { value: 'string', data: any }.
132132
*/
133-
lookup?: Function | AutocompleteSuggestion[];
133+
lookup?: { (query: string, done: { (results: AutocompleteResponse): void }): void } | string[] | AutocompleteSuggestion[];
134134

135135
/**
136136
* Filter function for local lookups. By default it does partial string match (case insensitive).

0 commit comments

Comments
 (0)