@native-systems/utility 2.3.0 → 2.3.2
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/index.cjs +30 -4087
- package/dist/index.d.ts +6 -7
- package/dist/index.esm.js +30 -4087
- package/package.json +2 -4
package/dist/index.d.ts
CHANGED
|
@@ -876,17 +876,17 @@ declare module "@native-systems/utility" {
|
|
|
876
876
|
*/
|
|
877
877
|
static formatMini(date: Date | string): string;
|
|
878
878
|
static getZoneAdjustedWeekday: (dateString: string, options: {
|
|
879
|
-
timezone: string;
|
|
879
|
+
timezone: string | undefined;
|
|
880
880
|
locale: string | undefined;
|
|
881
|
-
}) => string;
|
|
881
|
+
}, defaultTimeZone?: string) => string;
|
|
882
882
|
static getZoneAdjustedDate: (dateString: string, options: {
|
|
883
|
-
timezone: string;
|
|
883
|
+
timezone: string | undefined;
|
|
884
884
|
locale: string | undefined;
|
|
885
|
-
}) => string;
|
|
885
|
+
}, defaultTimeZone?: string) => string;
|
|
886
886
|
static getZoneAdjustedTime: (dateString: string, options: {
|
|
887
|
-
timezone: string;
|
|
887
|
+
timezone: string | undefined;
|
|
888
888
|
locale: string | undefined;
|
|
889
|
-
}) => string;
|
|
889
|
+
}, defaultTimeZone?: string) => string;
|
|
890
890
|
}
|
|
891
891
|
}
|
|
892
892
|
|
|
@@ -942,7 +942,6 @@ declare module "@native-systems/utility" {
|
|
|
942
942
|
static getName(firstName: string | undefined | null, lastName: string | undefined | null, email?: string | null): string;
|
|
943
943
|
static getEmail(email: string | null): string | undefined;
|
|
944
944
|
static getLetter(name: string | null | undefined): string | null;
|
|
945
|
-
static getBackgroundColor(email: string | undefined | null): string;
|
|
946
945
|
static getInitial(name: string): string;
|
|
947
946
|
}
|
|
948
947
|
}
|