mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
Removed Element return type
Now the __only__ return type is `HTMLElement`, which should solve the Travis build/test failure.
This commit is contained in:
4
jquery/jquery.d.ts
vendored
4
jquery/jquery.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user