Skip to main content
Skip to main content

WithRequiredProperty

WithRequiredProperty: T & { [Property in K]-?: T[Property] }

Utility type used to remove some optional attributes (coming from K) from a type T

Type Parameters

TobjectRequired
Kkeyof TRequired
Was this section helpful?