mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-03 23:42:50 +00:00
Select2: make optional parameters optional
Both `more` and `context` arguments are optional for the object passed to `callback` in `Select2QueryOptions`. See docs example for clarification: http://ivaynberg.github.io/select2/#data
This commit is contained in:
parent
11d86e7276
commit
a05a73f965
2
select2/select2.d.ts
vendored
2
select2/select2.d.ts
vendored
@ -10,7 +10,7 @@ interface Select2QueryOptions {
|
||||
term?: string;
|
||||
page?: number;
|
||||
context?: any;
|
||||
callback?: (result: { results: any; more: boolean; context: any; }) => void;
|
||||
callback?: (result: { results: any; more?: boolean; context?: any; }) => void;
|
||||
}
|
||||
|
||||
interface AjaxFunction {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user