Mapped Types

Mapped types transform existing types to new types by iterating through keys, often via the keyof operator.

Mapped types are a way to iterate over the keys of an existing type to produce a new type, often with the help of the keyof operator.