Merge pull request #1960 from danquirk/master

Reorder select2 overloads from most specific to least specific so overlo...
This commit is contained in:
Masahiro Wakame
2014-04-01 11:35:34 +09:00
+5 -3
View File
@@ -87,9 +87,7 @@ interface JQuery {
select2(): JQuery;
select2(it: IdTextPair): JQuery;
select2(options: Select2Options): JQuery;
select2(method: string): any;
select2(method: string, value: any, trigger?: boolean): any;
/**
* Get the id value of the current selection
*/
@@ -144,4 +142,8 @@ interface JQuery {
* Notifies Select2 that a drag and drop sorting operation has finished
*/
select2(method: 'onSortEnd'): void;
select2(method: string): any;
select2(method: string, value: any, trigger?: boolean): any;
select2(options: Select2Options): JQuery;
}