mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
add NumericDictionary to lodash _.map parameter
This commit is contained in:
1 parent
95b7178e0e
commit
b6e4a8d51a
1 file changed
+8
-2
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