ecabs-components 1.1.10 → 1.1.11
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.
|
@@ -6,3 +6,4 @@ export interface Sorter<T> {
|
|
|
6
6
|
export declare const sortGeneric: <T>(objX: T, objY: T, sortParams: Sorter<T>) => number;
|
|
7
7
|
export declare const removeNullUndefineds: <T>(obj: any, exceptProperties?: string[]) => T;
|
|
8
8
|
export declare const removeEmpty: <T>(o: any, exceptProperties?: string[]) => T;
|
|
9
|
+
export declare const mergeUniqueByKey: <T>(arr: T[], key?: keyof T) => T[];
|