WithRequiredProperty
WithRequiredProperty<T
, K
>: T
& { [Property in K]-?: T[Property] }
Utility type used to remove some optional attributes (coming from K) from a type T
Type parameters
T
objectRequiredK
keyof TRequiredWas this section helpful?