Merge pull request #1205 from santialbo/patch-1

select2: set option parameter in matcher to any (small fix)
This commit is contained in:
basarat committed 2013-10-31 07:47:27 -07:00
commit d922319a86
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ interface Select2Options {
closeOnSelect?: boolean;
openOnEnter?: boolean;
id?: (object: any) => string;
matcher?: (term: string, text: string, option: JQuery) => boolean;
matcher?: (term: string, text: string, option: any) => boolean;
formatSelection?: (object: any, container: JQuery) => string;
formatResult?: (object: any, container: JQuery, query: any) => string;
formatResultCssClass?: (object: any) => string;