@trackunit/shared-utils 0.0.19 → 0.0.20
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 +1 -1
- package/src/objectUtils.d.ts +1 -1
package/package.json
CHANGED
package/src/objectUtils.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export declare const deleteUndefinedKeys: <T extends Record<string, unknown>>(ob
|
|
|
12
12
|
* @param obj - The object to check.
|
|
13
13
|
* @returns The object if not empty, otherwise undefined.
|
|
14
14
|
*/
|
|
15
|
-
export declare const objNotEmpty: <T extends
|
|
15
|
+
export declare const objNotEmpty: <T extends object>(obj?: T | undefined) => T | undefined;
|