@opfr/utils-lang 1.0.1 → 1.0.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/dist/object.d.ts +1 -1
- package/package.json +2 -2
package/dist/object.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const mergeObjects: <TKey extends string, TValue>(obj1: { [key in TKey]: TValue; }, obj2: Partial<{ [key in TKey]: TValue; }>, mergeFn: (v1: TValue, v2: TValue) => TValue) => { [key in TKey]: TValue; };
|
|
2
|
-
export declare const isObject: (obj: unknown) => obj is
|
|
2
|
+
export declare const isObject: (obj: unknown) => obj is object;
|
|
3
3
|
export declare const filterKeys: <T, K extends keyof T>(data: T, keys: K[]) => Pick<T, K>;
|
|
4
4
|
export declare const recordToArray: <TKey extends string, TValue>(record: Partial<Record<TKey, TValue>>) => [TKey, TValue][];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opfr/utils-lang",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "OPFR utils-lang",
|
|
6
6
|
"author": "Matthieu VEIGA",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"node_modules",
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "9d964d1750de77bfcfa81eef37d19c1ba29d9c40"
|
|
36
36
|
}
|