typealias Partialize

export type Partialize<PartialType extends AllowedPartial, NulledKeys extends keyof PartialType | null = null, NullableKeys extends keyof PartialType | null = null, OverridableKeys extends keyof PartialType | '' = '',> = { [K in keyof Omit<PartialType, OverridableKeys>]: K extends 'partial'  ? true  : K extends NulledKeys   ? null   : K extends NullableKeys    ? PartialType[K] | null    : PartialType[K];};

Type Parameters

PartialType extends AllowedPartial

optional
NulledKeys? extends keyof PartialType | null = null

optional
NullableKeys? extends keyof PartialType | null = null

optional
OverridableKeys? extends keyof PartialType | '' = ''

Union Members

{ [K in keyof Omit<PartialType, OverridableKeys>]: K extends 'partial' ? true : K extends NulledKeys ? null : K extends NullableKeys ? PartialType[K] | null : PartialType[K];}