Lesson 3.27mIntermediate14.1k students
Mapped types and key remapping
Mapped types transform every property of a type at once, which is where Partial, Readonly, and their friends come from.
This lesson sits in Advanced Types, part of TypeScript for Application Developers. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will
- Transform every property of an existing type
- Add or strip optional and readonly modifiers
- Remap keys with an as clause
Resources
Your notes for this lesson will appear here.