mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Expose _.filter() in chained object wrapper
This commit is contained in:
Vendored
+9
@@ -2641,6 +2641,15 @@ declare module _ {
|
||||
whereValue: W): LoDashArrayWrapper<T>;
|
||||
}
|
||||
|
||||
interface LoDashObjectWrapper<T> {
|
||||
/**
|
||||
* @see _.filter
|
||||
**/
|
||||
filter<T extends {}>(
|
||||
callback: ObjectIterator<T, boolean>,
|
||||
thisArg?: any): LoDashObjectWrapper<T>;
|
||||
}
|
||||
|
||||
//_.find
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user