mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added possibility to add number or number[] to .val()
This commit is contained in:
Vendored
+2
-2
@@ -1363,9 +1363,9 @@ interface JQuery {
|
||||
/**
|
||||
* Set the value of each element in the set of matched elements.
|
||||
*
|
||||
* @param value A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked.
|
||||
* @param value A string of text, an array of strings, number or an array of numbers corresponding to the value of each matched element to set as selected/checked.
|
||||
*/
|
||||
val(value: string|string[]): JQuery;
|
||||
val(value: string|string[]|number|number[]): JQuery;
|
||||
/**
|
||||
* Set the value of each element in the set of matched elements.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user