mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-20 06:12:54 +08:00
Merge pull request #3631 from ericlu88/lodash
Expose _.filter() in chained object wrapper
This commit is contained in:
9
lodash/lodash.d.ts
vendored
9
lodash/lodash.d.ts
vendored
@@ -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