Page Contents

Home > @loopback/repository > DeepPartial

DeepPartial type

An extension of the built-in Partial type which allows partial values in deeply nested properties too.

Signature:

export declare type DeepPartial<T> = Partial<T> | {
    [P in keyof T]?: DeepPartial<T[P]>;
};

References: DeepPartial