@karmaniverous/entity-tools
Advanced tools
Comparing version 0.6.3 to 0.6.4
@@ -174,7 +174,7 @@ /** | ||
/** | ||
* The base Entity type. | ||
* The base Entity type: string keys with an `unknown` value. All Entities should extend this type. | ||
* | ||
* @category Entities | ||
*/ | ||
type Entity = object; | ||
type Entity = Record<string, unknown>; | ||
@@ -237,3 +237,5 @@ /** | ||
*/ | ||
type MakeOptional<T, U extends keyof T> = Omit<T, U> & Partial<Pick<T, U>>; | ||
type MakeOptional<T extends object, U extends keyof T> = { | ||
[P in keyof T]: P extends U ? T[P] | undefined : T[P]; | ||
}; | ||
@@ -240,0 +242,0 @@ /** |
@@ -129,3 +129,3 @@ { | ||
"types": "dist/index.d.ts", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"dependencies": { | ||
@@ -132,0 +132,0 @@ "radash": "^12.1.0" |
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
33504
785