From 5c7d1fcbea9b14df54fc4554d94cb67dfabffd9a Mon Sep 17 00:00:00 2001 From: Leo Rudberg Date: Thu, 8 Sep 2016 15:32:39 -0500 Subject: [PATCH] Removed Element return type Now the __only__ return type is `HTMLElement`, which should solve the Travis build/test failure. --- jquery/jquery.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index 4fdbedcfd5..b08598cc53 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -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.