Typescript Plugged In: The 'as' clause in Mapped Types

preview_player
Показать описание

The "as" clause is a powerful TypeScript utility which comes in handy very often, when creating Mapped Types. Learn what you can do with it.

00:00 intro
00:43 renaming with as clause
01:28 example of a non-string key
02:59 filter out by keys
03:50 filter out by values
Рекомендации по теме