mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
jQuery: added overload
This commit is contained in:
parent
436d236995
commit
3fd61644e2
6
jquery/jquery.d.ts
vendored
6
jquery/jquery.d.ts
vendored
@ -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.
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user