@zelgadis87/utils-core 5.1.1 → 5.1.2
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/package.json
CHANGED
|
@@ -15,6 +15,6 @@ export function entriesToEntries<K1 extends string, V1, K2 extends string, V2>(
|
|
|
15
15
|
/** @deprecated[2025.08.01]: Compatibility layer. */
|
|
16
16
|
export const mapEntries = entriesToEntries;
|
|
17
17
|
|
|
18
|
-
export function
|
|
18
|
+
export function entriesToList<K1 extends string, V1, R>( dict: Record<K1, V1>, mapper: TFunction<[ K1, V1 ], R> ): Array<R> {
|
|
19
19
|
return dictToEntries( dict ).map( ( entry ) => mapper( entry ) );
|
|
20
20
|
}
|