mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
added second argument "element" to $.filter
This commit is contained in:
1 parent
298b893f08
commit
44ace5c660
1 file changed
+1
-1
Vendored
+1
-1
@@ -3655,7 +3655,7 @@ interface JQuery {
|
||||
*
|
||||
* @param func A function used as a test for each element in the set. this is the current DOM element.
|
||||
*/
|
||||
filter(func: (index: number) => any): JQuery;
|
||||
filter(func: (index: number, element: Element) => any): JQuery;
|
||||
/**
|
||||
* Reduce the set of matched elements to those that match the selector or pass the function's test.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user