Removed Element return type

Now the __only__ return type is `HTMLElement`, which should solve the Travis build/test failure.
This commit is contained in:
Leo Rudberg
2016-09-08 15:32:39 -05:00
committed by GitHub
parent 29138f0985
commit 5c7d1fcbea

4
jquery/jquery.d.ts vendored
View File

@@ -2782,7 +2782,7 @@ interface JQuery {
* Retrieve all the elements contained in the jQuery set, as an array.
* @name toArray
*/
toArray(): (Element|HTMLElement)[];
toArray(): HTMLElement[];
/**
* Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
@@ -2840,7 +2840,7 @@ interface JQuery {
* Retrieve the elements matched by the jQuery object.
* @alias toArray
*/
get(): (Element|HTMLElement)[];
get(): HTMLElement[];
/**
* Search for a given element from among the matched elements.