Comparing version 0.5.5 to 0.5.6
@@ -191,2 +191,6 @@ /** | ||
}; | ||
/** | ||
* Makes properties with keys assignable to K in T optional | ||
*/ | ||
export type WithOptional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>; | ||
export {}; |
{ | ||
"name": "utilium", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "Typescript utilies", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -230,1 +230,6 @@ /** | ||
export type WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] }; | ||
/** | ||
* Makes properties with keys assignable to K in T optional | ||
*/ | ||
export type WithOptional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68047
1984