I'm trying to map strings to prefixed versions and preserve the type, eg. 'required' becomes 'fieldNameRequired'
Any help in figuring out why label1-3 resolves to never but label4 resolves correctly would be hugely appreciated because I'm stumped! 😁
I've tested all my generics individually in the attached fine and they all resolve correctly. I've also replicated the logic and typings of my mapping function and that also resolves correctly as label4, but I don't understand why using the function itself doesn't behave the same way 🤔