mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-22 03:37:53 +08:00
Merge pull request #1205 from santialbo/patch-1
select2: set option parameter in matcher to any (small fix)
This commit is contained in:
2
select2/select2.d.ts
vendored
2
select2/select2.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user