I just started to experiment with mapped types.
Just to see what it is doing I wrote:
type Test = public class mapped to String
I expected to have a fully working mapped type now that has a 1:1 mapping to String, meaning that I only have to implement the parts where the mapping is needed (where Test has another interface than String).
But when I use it, none of the methods or properties of String are known in Test.
This makes it very hard to create a mapping for a complex class.
Is this by design?
Is there a way to start with a 1 to 1 mapping and implement the differences only?