From 000f090aff567dfa997f1f6bea11c392f023f7e6 Mon Sep 17 00:00:00 2001 From: Santi Albo Date: Wed, 30 Oct 2013 18:23:49 -0700 Subject: [PATCH] (select2) set option parameter in matcher to any --- select2/select2.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2/select2.d.ts b/select2/select2.d.ts index d18a3924f..842b75ef7 100644 --- a/select2/select2.d.ts +++ b/select2/select2.d.ts @@ -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;