Merge pull request #1662 from davidsidlinger/fix/lodash-wrapper-map-result

Fix up lodash wrapper map
This commit is contained in:
Masahiro Wakame
2014-02-07 01:23:45 +09:00

12
lodash/lodash.d.ts vendored
View File

@@ -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