Omit with Ian VanSchooten - TypeScript Type Challenges #3 [MEDIUM]

preview_player
Показать описание
Omit is definitely one of the most used TypeScript types, along with Partial and Pick. To solve this challenge, though, requires a knowledge of two prior challenges: Exclude and Pick. Although the challenges are getting harder, if you can get a grasp on Omit, you're off to a great start.

00:00 description of the challenge
00:46 attempt at a solution
03:15 all tests pass
04:20 alternatives
05:41 attempts that didn't work
05:49 looking at the builtin implementation

Рекомендации по теме
Комментарии
Автор

Note that standard Omit doesn't limit second argument to be key of the first.

QwDragon