TypeScript · Utility Types · Fresh / Intern · Concept
What does Partial<T> do?
Short Interview Answer
Makes all properties optional — useful for patches/updates.
Detailed Explanation
Shallow only. Deep partial needs custom mapped types.
TypeScript · Utility Types · Fresh / Intern · Concept
Makes all properties optional — useful for patches/updates.
Shallow only. Deep partial needs custom mapped types.
Did you know this answer?