How to predict `type instatiation too deep and possibly infinite` error?
I’m trying to improve my knowledge of types in typescript, so I’m doing some type challenges. One of the challenges is to make a type that capitalises a generic string, as shown below (here).