@livetiles/reach-plugin-types 0.5.0-preview.741 → 0.5.0-preview.743
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 +6 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -420,6 +420,10 @@ declare module "libs/shared/util/common/src/dateUtils" {
|
|
|
420
420
|
export function isDateToday(value: string | Date): boolean;
|
|
421
421
|
export function isSameOrAfter(date: Date, dateToCompare: Date): boolean;
|
|
422
422
|
}
|
|
423
|
+
declare module "libs/shared/util/common/src/debouncePromise" {
|
|
424
|
+
type Awaited<T> = T extends PromiseLike<infer U> ? U : T;
|
|
425
|
+
export function debouncePromise<T extends (...args: any[]) => any>(fn: T, wait: number, cacheKey?: string, abortValue?: any): (...args: Parameters<T>) => Promise<Awaited<ReturnType<T>>>;
|
|
426
|
+
}
|
|
423
427
|
declare module "libs/shared/util/common/src/index" {
|
|
424
428
|
export * from "libs/shared/util/common/src/Logger";
|
|
425
429
|
export * from "libs/shared/util/common/src/IdGenerator";
|
|
@@ -433,6 +437,7 @@ declare module "libs/shared/util/common/src/index" {
|
|
|
433
437
|
export * from "libs/shared/util/common/src/isValidEmail";
|
|
434
438
|
export * from "libs/shared/util/common/src/avatarUtil";
|
|
435
439
|
export * from "libs/shared/util/common/src/dateUtils";
|
|
440
|
+
export * from "libs/shared/util/common/src/debouncePromise";
|
|
436
441
|
}
|
|
437
442
|
declare module "libs/reach/util/common/src/reachClassNames" {
|
|
438
443
|
export const reachClassNames: string;
|
|
@@ -10517,6 +10522,7 @@ declare module "libs/reach/feature/content/src/reach-2/comments/common/MentionSu
|
|
|
10517
10522
|
items: Account[];
|
|
10518
10523
|
selectSuggestion: (index: number, suggestion: Account) => void;
|
|
10519
10524
|
isSuggestionSelected?: (index: number, suggestion: Account) => boolean;
|
|
10525
|
+
isLoading?: boolean;
|
|
10520
10526
|
className?: string;
|
|
10521
10527
|
}
|
|
10522
10528
|
export const MentionSuggestions: FC<MentionSuggestionsProps>;
|