jQuery: added overload

This commit is contained in:
John Reilly 2014-03-14 17:26:43 +00:00
parent 436d236995
commit 3fd61644e2

6
jquery/jquery.d.ts vendored
View File

@ -3329,6 +3329,12 @@ interface JQuery {
*/
children(selector?: string): JQuery;
/**
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
*
* @param selector A string containing a selector expression to match elements against.
*/
closest(selector: string): JQuery;
/**
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
*