@hairy/utils 1.0.17 → 1.0.19
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/index.d.ts +3 -3
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -142,11 +142,11 @@ declare type DeepReplace<T, K = unknown, V = unknown> = {
|
|
|
142
142
|
[P in keyof T]: K extends P ? V : DeepReplace<T[P], K, V>;
|
|
143
143
|
};
|
|
144
144
|
declare type Option<L extends Key = 'label', V extends Key = 'value', C extends Key = 'children'> = {
|
|
145
|
-
[P in L]
|
|
145
|
+
[P in L]?: string;
|
|
146
146
|
} & {
|
|
147
|
-
[P in V]
|
|
147
|
+
[P in V]?: LooseNumber;
|
|
148
148
|
} & {
|
|
149
|
-
[P in C]?: Option[];
|
|
149
|
+
[P in C]?: Option<L, V, C>[];
|
|
150
150
|
};
|
|
151
151
|
|
|
152
152
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hairy/utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"dayjs": "^1.10.6"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"./*": "./*"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "e52024f8c05853d0fe0b155df4f3beaed0ce7c6a",
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
}
|