@livetiles/reach-plugin-types 0.5.0-preview.1027 → 0.5.0-preview.1028
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/lib/index.d.ts +5 -4
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -436,10 +436,11 @@ declare module "libs/shared/util/common/src/avatarUtil" {
|
|
|
436
436
|
export function getAvatarBackgroundColor(initials: string): string;
|
|
437
437
|
}
|
|
438
438
|
declare module "libs/shared/util/common/src/dateUtils" {
|
|
439
|
-
export
|
|
440
|
-
export
|
|
441
|
-
export
|
|
442
|
-
export
|
|
439
|
+
export const getDateOrNow: (value?: string) => Date;
|
|
440
|
+
export const ensureDate: (value: string | Date) => Date;
|
|
441
|
+
export const isDateToday: (value: string | Date) => boolean;
|
|
442
|
+
export const isSameOrAfter: (date: Date, dateToCompare: Date) => boolean;
|
|
443
|
+
export const toTimezone: (date: Date) => Date;
|
|
443
444
|
}
|
|
444
445
|
declare module "libs/shared/util/common/src/debouncePromise" {
|
|
445
446
|
type Awaited<T> = T extends PromiseLike<infer U> ? U : T;
|