WithRequiredProperty
WithRequiredProperty<TypeParameter T, TypeParameter 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?