es-toolkit 1.43.0-dev.1705 → 1.43.0-dev.1706
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/map/mapValues.d.mts
CHANGED
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
* // 'c' => 6
|
|
26
26
|
* // }
|
|
27
27
|
*/
|
|
28
|
-
declare function mapValues<K, V>(map: Map<K, V>, getNewValue: (value: V, key: K, object: Map<K, V>) =>
|
|
28
|
+
declare function mapValues<K, V, R>(map: Map<K, V>, getNewValue: (value: V, key: K, object: Map<K, V>) => R): Map<K, R>;
|
|
29
29
|
|
|
30
30
|
export { mapValues };
|
package/dist/map/mapValues.d.ts
CHANGED
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
* // 'c' => 6
|
|
26
26
|
* // }
|
|
27
27
|
*/
|
|
28
|
-
declare function mapValues<K, V>(map: Map<K, V>, getNewValue: (value: V, key: K, object: Map<K, V>) =>
|
|
28
|
+
declare function mapValues<K, V, R>(map: Map<K, V>, getNewValue: (value: V, key: K, object: Map<K, V>) => R): Map<K, R>;
|
|
29
29
|
|
|
30
30
|
export { mapValues };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-toolkit",
|
|
3
|
-
"version": "1.43.0-dev.
|
|
3
|
+
"version": "1.43.0-dev.1706+7f9f2dc6",
|
|
4
4
|
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
|
|
5
5
|
"homepage": "https://es-toolkit.dev",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|