I'm trying to write a utility that would strip prefixes off of object properties and am wondering how to use that in a mapped type. I'm trying to use a mapped type, but the compiler seems to want to have a value istead of a type when declaring the key of the mapped type:
How can you use a computed type as a key in a mapped type?