Back to Browse

Tuple To Object with John Chadwick - TypeScript Type Challenges #11 [EASY]

2.9K views
Jan 4, 2023
5:23

TupleToObject is one of the more tricky challenges in the "easy" difficulty level. It teaches us how to remap tuples to other type structures, which is a skill that's going to come up quite a lot in many of the future challenges. 00:00 description of the challenge 01:12 attempt at a solution 02:49 sidebar about `PropertyKey` 03:44 back to solutionizing 04:16 all tests pass 04:31 alternatives You can view the code for this challenge on GitHub: https://github.com/type-challenges/type-challenges/issues/21514. You can also view the umbrella issue with code for all the challenges we've solved here: https://github.com/type-challenges/type-challenges/issues/21338 A new challenge posts every day from January 1st 2023 to May 20th 2023. If you’d like to join in solving them, please email us at: [email protected] Discord: https://discord.gg/tmhGfR4Dye Twitter: https://twitter.com/MiTypeScript Mastodon: https://fosstodon.org/@MichiganTypeScript Instagram: https://www.instagram.com/michigantypescript TikTok: https://www.tiktok.com/@michigantypescript

Download

0 formats

No download links available.

Tuple To Object with John Chadwick - TypeScript Type Challenges #11 [EASY] | NatokHD