@elyukai/utils 0.1.5 → 0.1.6

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [0.1.6](https://github.com/elyukai/ts-utils/compare/v0.1.5...v0.1.6) (2026-01-28)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * signature of map method ([3f8197f](https://github.com/elyukai/ts-utils/commit/3f8197fc7e8d5a003d493ae1460060e0c868e4db))
11
+
5
12
  ## [0.1.5](https://github.com/elyukai/ts-utils/compare/v0.1.4...v0.1.5) (2026-01-28)
6
13
 
7
14
 
@@ -107,7 +107,7 @@ export declare class Dictionary<T extends AnyNonNullish | null, K extends string
107
107
  /**
108
108
  * Applies a function to every key-value pair in the dictionary.
109
109
  */
110
- map<U extends AnyNonNullish | null>(mapFn: (value: T, key: K) => U): Dictionary<U>;
110
+ map<U extends AnyNonNullish | null>(mapFn: (value: T, key: K) => U): Dictionary<U, K>;
111
111
  /**
112
112
  * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
113
113
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyukai/utils",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "A set of JavaScript helper functions.",
5
5
  "files": [
6
6
  "dist",