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> = {
    [P in keyof T]?: T[P] extends never ? DeepPartial<T[P]> : DeepPartial<T[P]>;
};