2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-11-25 06:07:45 +00:00

Add static $.Autocomplete to typings

(used for accessing the `defaults` property)
This commit is contained in:
Philipp Katz 2018-05-23 22:40:45 +02:00
parent 3927f7960f
commit 37d73a9fd0
2 changed files with 20 additions and 0 deletions

View File

@ -50,6 +50,11 @@ input.autocomplete({
}
});
// ----------------------------------------------------------------------------------------
// ----------------------------- TEST AUTOCOMPLETE STATIC ---------------------------------
// ----------------------------------------------------------------------------------------
$.Autocomplete.defaults;
// ----------------------------------------------------------------------------------------
// ------------------------------ TEST INSTANCE METHODS -----------------------------------

View File

@ -257,6 +257,15 @@ interface JQueryAutocompleteOptions {
}
interface AutocompleteStatic {
/**
* Default options for all instances.
*/
defaults: JQueryAutocompleteOptions
}
interface AutocompleteInstance {
/**
@ -297,6 +306,12 @@ interface AutocompleteInstance {
}
interface JQueryStatic {
Autocomplete: AutocompleteStatic
}
interface JQuery {
/**