pangea-helpers 1.3.40 → 1.3.42

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,8 +1,9 @@
1
1
  type Object = {
2
2
  [x: string]: any;
3
3
  };
4
- export declare function copyAvailableFields(destinationObj?: any, originObj?: any): void;
5
- export declare function removeProps<T, K extends keyof T>(obj: T, props: K[]): Omit<T, K>;
4
+ export declare function cloneObjectProperties<T>(obj: T): T;
5
+ export declare function copyAvailableFields(destinationObj?: Object, originObj?: Object): void;
6
+ export declare function removeProps<T, K extends keyof T>(obj: T, props: K | K[]): Omit<T, K>;
6
7
  export declare function isObject(val: any): boolean;
7
8
  export declare function merge(target: Object, source: Object): void;
8
9
  export declare function mergeDeep<T>(obj1: Object, obj2: Object): T;