mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Merge pull request #1662 from davidsidlinger/fix/lodash-wrapper-map-result
Fix up lodash wrapper map
This commit is contained in:
12
lodash/lodash.d.ts
vendored
12
lodash/lodash.d.ts
vendored
@@ -1919,27 +1919,27 @@ declare module _ {
|
||||
**/
|
||||
map<T, TResult>(
|
||||
callback: ListIterator<T, TResult>,
|
||||
thisArg?: any): LoDashArrayWrapper<T>;
|
||||
thisArg?: any): LoDashArrayWrapper<TResult>;
|
||||
|
||||
/**
|
||||
* @see _.map
|
||||
* @param pluckValue _.pluck style callback
|
||||
**/
|
||||
map<T, TResult>(
|
||||
pluckValue: string): LoDashArrayWrapper<T>;
|
||||
pluckValue: string): LoDashArrayWrapper<TResult>;
|
||||
|
||||
/**
|
||||
* @see _.map
|
||||
**/
|
||||
collect<T, TResult>(
|
||||
callback: ListIterator<T, TResult>,
|
||||
thisArg?: any): LoDashArrayWrapper<T>;
|
||||
thisArg?: any): LoDashArrayWrapper<TResult>;
|
||||
|
||||
/**
|
||||
* @see _.map
|
||||
**/
|
||||
collect<T, TResult>(
|
||||
pluckValue: string): LoDashArrayWrapper<T>;
|
||||
pluckValue: string): LoDashArrayWrapper<TResult>;
|
||||
}
|
||||
|
||||
interface LoDashObjectWrapper<T> {
|
||||
@@ -1948,14 +1948,14 @@ declare module _ {
|
||||
**/
|
||||
map<T extends {}, TResult>(
|
||||
callback: ObjectIterator<T, TResult>,
|
||||
thisArg?: any): LoDashObjectWrapper<T>;
|
||||
thisArg?: any): LoDashObjectWrapper<TResult>;
|
||||
|
||||
/**
|
||||
* @see _.map
|
||||
**/
|
||||
collect<T extends {}, TResult>(
|
||||
callback: ObjectIterator<T, TResult>,
|
||||
thisArg?: any): LoDashObjectWrapper<T>;
|
||||
thisArg?: any): LoDashObjectWrapper<TResult>;
|
||||
}
|
||||
|
||||
//_.max
|
||||
|
||||
Reference in New Issue
Block a user