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
T
objectRequiredK
keyof TRequiredWas this section helpful?
WithRequiredProperty: T
& { [Property in K]-?: T[Property] }
Utility type used to remove some optional attributes (coming from K) from a type T
T
objectRequiredK
keyof TRequired