I was looking through this question here:
TypeScript: deep partial?
The top answer has DeepPartial type defined as follows:
type DeepPartial<