@neovici/cosmoz-utils 5.36.0 → 5.37.0
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/promise.d.ts +1 -1
- package/package.json +1 -1
package/dist/promise.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export declare const timeout$: (ms?: number) => Promise<unknown>;
|
|
|
7
7
|
type Predicate<T extends Event> = (e: T) => boolean;
|
|
8
8
|
export declare const event$: <E extends Event, P extends Predicate<E>>(target: EventTarget, type: string, predicate?: P | undefined, timeout?: number) => Promise<unknown>;
|
|
9
9
|
export declare const limit$: <T extends unknown[], P>(fn: (...args: T) => PromiseLike<P>, limit: number) => (...args: T) => Promise<P>;
|
|
10
|
-
export declare const debounce$: <T extends unknown[], P>(fn: (...args: T) => PromiseLike<P>, ms?: number) => (...args: T) => Promise<P>;
|
|
10
|
+
export declare const debounce$: <T extends unknown[], P>(fn: (...args: T) => P | PromiseLike<P>, ms?: number) => (...args: T) => Promise<P>;
|
|
11
11
|
export {};
|