mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
add NumericDictionary to lodash _.map parameter
This commit is contained in:
Vendored
+8
-2
@@ -7997,11 +7997,17 @@ declare module _ {
|
||||
thisArg?: any
|
||||
): TResult[];
|
||||
|
||||
map<T extends {}, TResult>(
|
||||
collection: NumericDictionary<T>,
|
||||
iteratee?: NumericDictionaryIterator<T, TResult>,
|
||||
thisArg?: any
|
||||
): TResult[];
|
||||
|
||||
/**
|
||||
* @see _.map
|
||||
*/
|
||||
map<T, TResult>(
|
||||
collection: List<T>|Dictionary<T>,
|
||||
collection: List<T>|Dictionary<T>|NumericDictionary<T>,
|
||||
iteratee?: string
|
||||
): TResult[];
|
||||
|
||||
@@ -8009,7 +8015,7 @@ declare module _ {
|
||||
* @see _.map
|
||||
*/
|
||||
map<T, TObject extends {}>(
|
||||
collection: List<T>|Dictionary<T>,
|
||||
collection: List<T>|Dictionary<T>|NumericDictionary<T>,
|
||||
iteratee?: TObject
|
||||
): boolean[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user