@sohanemon/utils 5.2.7 → 5.3.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.
|
@@ -7,6 +7,7 @@ export type SelectivePartial<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T
|
|
|
7
7
|
export type DeepRequired<T> = T extends Function ? T : T extends Array<infer U> ? Array<DeepRequired<U>> : T extends object ? {
|
|
8
8
|
[K in keyof T]-?: DeepRequired<T[K]>;
|
|
9
9
|
} : T;
|
|
10
|
+
export type SelectiveRequired<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
|
10
11
|
export type Never<T> = {
|
|
11
12
|
[K in keyof T]: never;
|
|
12
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sohanemon/utils",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"author": "Sohan Emon <sohanemon@outlook.com>",
|
|
5
5
|
"description": "",
|
|
6
6
|
"type": "module",
|
|
@@ -53,6 +53,5 @@
|
|
|
53
53
|
"clsx": "^2.1.1",
|
|
54
54
|
"react": "^19.2.0",
|
|
55
55
|
"tailwind-merge": "^3.3.1"
|
|
56
|
-
}
|
|
57
|
-
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
|
|
56
|
+
}
|
|
58
57
|
}
|