Skip to content

Type Alias: DeepPartial<T> ​

ts
type DeepPartial<T> = T extends (...args) => any ? T : T extends readonly unknown[] ? T : T extends object ? { [K in keyof T]?: DeepPartial<T[K]> } : T;

Defined in: core/props.ts:4

A type whose fields, and the fields of its objects, are optional. Arrays and functions stay as they are.

Type Parameters ​

T ​

T