utilitypes-ts
    Preparing search index...

    Type Alias PartialRecord<K, V>

    PartialRecord: Partial<Record<K, V>>

    Equivalent to Partial<Record<K, V>>.

    Type Parameters

    • K extends PropertyKey
    • V
    type Result = PartialRecord<"a" | "b", number>;
    // ^?
    // {
    // a?: number;
    // b?: number;
    // };