Two Useful Utility Types in Typescript: “Partial” and “Pick”

Photo by Andrew Neel on Unsplash

The Typescript documenation sets out a dozen of utility types. After using some of them, I was fasinated. They made my code much neater. I did not know even they are existing before.

In case you are missing them like me 2 days ago, I will breifly introduce the concept of utility types and two of them I frequently use.