@milaboratories/uikit 2.2.47 → 2.2.48

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.
@@ -1,6 +1,5 @@
1
1
  import type { ListOption } from '../types';
2
2
  export declare function call<R>(f: () => R): R;
3
- export declare function notEmpty<T>(v: T | null | undefined, message: string): T;
4
3
  export declare function requestTick<P>(cb: (...args: P[]) => void): (...args: P[]) => void;
5
4
  export declare function delay(ms: number): Promise<unknown>;
6
5
  export declare function timeout(cb: () => void, ms: number): () => void;
@@ -19,12 +18,11 @@ export declare function animateInfinite(options: {
19
18
  timing: (t: number) => number;
20
19
  }): () => void;
21
20
  type AnyFunction = (...args: any[]) => any;
22
- export declare function debounce<F extends AnyFunction>(func: F, delay: number): (...args: Parameters<F>) => void;
23
21
  export declare function throttle<F extends AnyFunction>(callback: F, ms: number, trailing?: boolean): (...args: Parameters<F>) => void;
24
22
  export declare function listToOptions<T>(list: T[] | readonly T[]): ListOption<T>[];
25
23
  export declare function normalizeListOptions<V = unknown>(options: Readonly<ListOption<V>[]>): {
26
- label: string;
27
- value: V;
28
- description: string | undefined;
24
+ label: any;
25
+ value: any;
26
+ description: any;
29
27
  }[];
30
28
  export {};