pangea-helpers 1.3.57 → 1.3.59
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/helpers/coin.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare function getIsoDate(date?: Date): string;
|
|
2
|
-
export declare function getIsoTime(date?: Date): string;
|
|
3
1
|
export declare function getCurrentYearStartDate(date?: Date): Date;
|
|
4
2
|
export declare function getPreviousYearStartDate(date?: Date): Date;
|
|
5
3
|
export declare function getNextYearStartDate(date?: Date): Date;
|
package/dist/helpers/object.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ type Object = {
|
|
|
3
3
|
};
|
|
4
4
|
export declare function cloneObjectProperties<T extends Object>(obj: T): T;
|
|
5
5
|
export declare function copyAvailableFields(destinationObj?: Object, originObj?: Object): void;
|
|
6
|
-
export declare function removeProps<T extends Object, K extends keyof T>(obj: T,
|
|
6
|
+
export declare function removeProps<T extends Object, K extends keyof T>(obj: T, propsToRemove: K | K[]): Omit<T, K>;
|
|
7
7
|
export declare function isObject(val: any): boolean;
|
|
8
8
|
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;
|