@uxf/localize 11.86.0 → 11.88.2
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/package.json +2 -2
- package/src/utils/curry.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/localize",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.88.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "ISC",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"currency.js": "2.0.4",
|
|
20
|
-
"dayjs": "1.11.
|
|
20
|
+
"dayjs": "1.11.19"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": ">=18.2.0"
|
package/src/utils/curry.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type Tail<T extends
|
|
2
|
-
type CurryFunction<T extends
|
|
3
|
-
export declare function _curry<T extends
|
|
1
|
+
type Tail<T extends unknown[]> = T extends [unknown, ...infer U] ? U : never;
|
|
2
|
+
type CurryFunction<T extends unknown[], R> = (arg1: T[0]) => (...rest: Tail<T>) => R;
|
|
3
|
+
export declare function _curry<T extends unknown[], R>(fn: (...args: T) => R): CurryFunction<T, R>;
|
|
4
4
|
export {};
|