Skip to main content
Skip to main content

Partial

Partial<TypeParameter T>: { [P in keyof T]?: T[P] }

Make all properties in T optional

Type parameters

TobjectRequired
Was this section helpful?