Using Conditional Mapped Types when interfacing with REST API's
It can happen that the shape of an interface for a REST API is slightly different than the interface in your application. Conditional Mapped Types can help us account for those changes while still allowing us to maintain one interface.