Type alias Partialize<PartialType, NulledKeys, NullableKeys, OverridableKeys>

Partialize<PartialType, NulledKeys, NullableKeys, OverridableKeys>: {
    [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

  • NulledKeys extends keyof PartialType | null = null

  • NullableKeys extends keyof PartialType | null = null

  • OverridableKeys extends keyof PartialType | "" = ""

Generated using TypeDoc