pangea-helpers 1.3.78 → 1.3.80

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.
@@ -1 +1,2 @@
1
- export declare function removeDuplicateItems<T extends Record<string, any>, K extends keyof T = 'id'>(array: T[], field?: K): T[];
1
+ export declare function removeDuplicates<T>(items: T[]): T[];
2
+ export declare function removeDuplicateItems<T extends Record<string, any>, K extends keyof T = 'id'>(items: T[], field?: K): T[];
@@ -9,6 +9,6 @@ export declare function merge(target: Object, source: Object): void;
9
9
  export declare function mergeDeep<T extends Object, S extends Object>(obj1: T, obj2: S): T & S;
10
10
  export declare function filterKeys(objectWithTheKeys: Object, objectToFilter: Object): Object;
11
11
  export declare function filterKeysDeep(objectWithTheKeys: Object, objectToFilter: Object): Object;
12
- export declare function inheritStaticObjectProperty<T extends object>(ctor: Function, key: string, initial: T): T;
13
- export declare function inheritStaticArrayProperty<T>(ctor: Function, key: string, initial: T[]): T[];
12
+ export declare function inheritStaticObject(ctor: Function, key: string, initial?: object): {};
13
+ export declare function inheritStaticArray(ctor: Function, key: string, initial?: Array<any>): any[];
14
14
  export {};