@karmaniverous/entity-tools
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -154,2 +154,12 @@ /** | ||
/** | ||
* Makes specified properties of T optional. | ||
* | ||
* @typeParam T - The type to make properties optional. | ||
* @typeParam U - The properties to make optional. | ||
* | ||
* @category Utilities | ||
*/ | ||
type MakeOptional<T, U extends keyof T> = Omit<T, U> & Partial<Pick<T, U>>; | ||
/** | ||
* A `null` or `undefined` value. | ||
@@ -275,2 +285,2 @@ * | ||
export { type DefaultTranscodeMap, type Entity, type Exactify, type Nil, type PartialTranscodable, type PropertiesNotOfType, type PropertiesOfType, type SortOrder, type TranscodableProperties, type TranscodeMap, type Transcodes, type UntranscodableProperties, type WithRequiredAndNonNullable, defaultTranscodes, isNil, sort }; | ||
export { type DefaultTranscodeMap, type Entity, type Exactify, type MakeOptional, type Nil, type PartialTranscodable, type PropertiesNotOfType, type PropertiesOfType, type SortOrder, type TranscodableProperties, type TranscodeMap, type Transcodes, type UntranscodableProperties, type WithRequiredAndNonNullable, defaultTranscodes, isNil, sort }; |
@@ -129,3 +129,3 @@ { | ||
"types": "dist/index.d.ts", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"dependencies": { | ||
@@ -132,0 +132,0 @@ "radash": "^12.1.0" |
28039
636