mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Use generic parameter
This commit is contained in:
Vendored
+2
-2
@@ -3476,12 +3476,12 @@ declare module _ {
|
||||
* @return Returns a new object with values of the results of each callback execution.
|
||||
*/
|
||||
mapValues<Mapped, T>(
|
||||
object: any,
|
||||
object: T,
|
||||
callback: ObjectIterator<any, any>,
|
||||
thisArg?: any): Mapped;
|
||||
|
||||
mapValues<Mapped, T>(
|
||||
object: any,
|
||||
object: T,
|
||||
pluckValue: string): Mapped;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user