@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.
Files changed (2) hide show
  1. package/lib/index.d.ts +5 -4
  2. 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 function getDateOrNow(value?: string): Date;
440
- export function ensureDate(value: string | Date): Date;
441
- export function isDateToday(value: string | Date): boolean;
442
- export function isSameOrAfter(date: Date, dateToCompare: Date): boolean;
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;
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.1027",
7
+ "version": "0.5.0-preview.1028",
8
8
  "dependencies": {}
9
9
  }