How do you make a function signature that takes in a type name as a string, and returns that type?

I believe I do.

As I said, I’m highly confident this is not possible. And if

What was the point in this topic?

The answers are all there. You just have to look for them.

Edit: What is your main goal - what are you trying to acheive with this function? I have a feeling this may be an XY problem