mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Set the type of language to any. (#10187)
* Set the type of language to any. The type of language can be string, array, etc. Sources: https://github.com/select2/select2/blob/6844be777b0fe9af1d2b9a8f6051b7eb7d532247/src/js/select2/defaults.js#L235-L294 * Update the language type.
This commit is contained in:
committed by
Mohamed Hegazy
parent
5ccabc86ec
commit
9bd416090b
Vendored
+1
-1
@@ -78,7 +78,7 @@ interface Select2Options {
|
||||
*/
|
||||
templateSelection?: (object: Select2SelectionObject) => any;
|
||||
templateResult?: (object: Select2SelectionObject) => any;
|
||||
language?: string;
|
||||
language?: string | string[] | {};
|
||||
}
|
||||
|
||||
interface Select2JQueryEventObject extends JQueryEventObject {
|
||||
|
||||
Reference in New Issue
Block a user