mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Big replacement: bool with boolean
This commit is contained in:
Vendored
+6
-6
@@ -10,7 +10,7 @@ interface Select2QueryOptions {
|
||||
term?: string;
|
||||
page?: number;
|
||||
context?: any;
|
||||
callback?: (result: { results: any; more: bool; context: any; }) => void;
|
||||
callback?: (result: { results: any; more: boolean; context: any; }) => void;
|
||||
}
|
||||
|
||||
interface AjaxFunction {
|
||||
@@ -39,12 +39,12 @@ interface Select2Options {
|
||||
maximumSelectionSize?: number;
|
||||
placeholder?: string;
|
||||
separator?: string;
|
||||
allowClear?: bool;
|
||||
multiple?: bool;
|
||||
closeOnSelect?: bool;
|
||||
openOnEnter?: bool;
|
||||
allowClear?: boolean;
|
||||
multiple?: boolean;
|
||||
closeOnSelect?: boolean;
|
||||
openOnEnter?: boolean;
|
||||
id?: (object: any) => string;
|
||||
matcher?: (term: string, text: string, option: JQuery) => bool;
|
||||
matcher?: (term: string, text: string, option: JQuery) => 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