This is an exciting challenge because it has so many alternatives, all of which are little learning opportunities. Beyond that, being able to access values from a tuple is a core skill when working with TypeScript and this challenge starts to get those muscles pumping.
00:00 description of the challenge
00:36 attempt at a solution
01:50 all tests pass
02:29 alternatives
05:22 attempts that didn't work
You can view the code for this challenge on GitHub: https://github.com/type-challenges/type-challenges/issues/21533. 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.
First of Array with Aaron Harper - TypeScript Type Challenges #14 [EASY] | NatokHD