jQuery: expanded text to cover number and boolean

following input from @dmethvin
This commit is contained in:
John Reilly
2014-03-13 14:02:36 +00:00
parent f1cd2ccc32
commit 64f7f2b630
2 changed files with 28 additions and 16 deletions
+14 -2
View File
@@ -3086,9 +3086,21 @@ interface JQuery {
/**
* Set the content of each element in the set of matched elements to the specified text.
*
* @param textString A string of text to set as the content of each matched element.
* @param text The text to set as the content of each matched element.
*/
text(textString: string): JQuery;
text(text: string): JQuery;
/**
* Set the content of each element in the set of matched elements to the specified text.
*
* @param text The text to set as the content of each matched element.
*/
text(text: number): JQuery;
/**
* Set the content of each element in the set of matched elements to the specified text.
*
* @param text The text to set as the content of each matched element.
*/
text(text: boolean): JQuery;
/**
* Set the content of each element in the set of matched elements to the specified text.
*