mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
jQuery: added overload
This commit is contained in:
1 parent
436d236995
commit
3fd61644e2
1 file changed
+6
Vendored
+6
@@ -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.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user