Intermediate
TypeScript
Q56 / 100
What does "Partial<Required<T>>" effectively do for an interface T with optional and required properties?
Correct! Well done.
Incorrect.
The correct answer is B) First makes all properties required, then makes the resulting type's properties optional again
B
Correct Answer
First makes all properties required, then makes the resulting type's properties optional again
Explanation
Utility types compose: Required<T> makes everything required, then Partial<> wraps that result to make all properties optional.
Progress
56/100