mixlea-utils-js 0.1.94 → 0.1.96
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/mixlea-utils-js.js +1069 -1059
- package/dist/mixlea-utils-js.umd.js +2 -2
- package/dist/types/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1323,6 +1323,8 @@ export declare function getCurrentDate(): Date;
|
|
|
1323
1323
|
|
|
1324
1324
|
declare type Reducer<T, A> = (state: T, action: A) => T;
|
|
1325
1325
|
|
|
1326
|
+
export declare const removeWatchConfigStore: (callback: (config: Record<string, any>) => void) => void;
|
|
1327
|
+
|
|
1326
1328
|
export declare function returnNotVoid<X, Y>(param1: X, param2: Y | (() => Y)): X | Y;
|
|
1327
1329
|
|
|
1328
1330
|
export declare function rgba2obj(rgba?: string): RGBColor;
|
|
@@ -1578,6 +1580,8 @@ export declare function getCurrentDate(): Date;
|
|
|
1578
1580
|
|
|
1579
1581
|
declare type VoidLike_2 = null | undefined | '' | [] | Record<string, never>;
|
|
1580
1582
|
|
|
1583
|
+
export declare const watchConfigStore: (callback: (config: Record<string, any>) => void) => void;
|
|
1584
|
+
|
|
1581
1585
|
export declare function when<V>(condition: ValueOrFn_2<boolean>, result: ValueOrFn_2<V>): {
|
|
1582
1586
|
elseWhen(condition: ValueOrFn_2<boolean>, result: ValueOrFn_2<V>): any;
|
|
1583
1587
|
default(defaultResult: ValueOrFn_2<V>): V;
|