DEV Community

Discussion on: Advanced TypeScript Exercises - Answer 1

Collapse
 
macsikora profile image
Pragmatic Maciej

Yes and we really don't need to wrap it in our type level function. We can just write MyType[MyProp] directly. Thanks for the great comment and kind words!

Collapse
 
jfet97 profile image
Andrea Simone Costa

You're welcome 😃