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.