TypeScript card reviewmedium

What are Mapped Types in TypeScript?

Mapped Types allow developers to create new types by transforming existing types. They iterate over properties of a type and apply modifications such as making properties optional, readonly, or changing value types. Mapped types are the foundation for many built-in utility types and help reduce repetitive type definitions.

JB

Jeevan Bhargav

Audited by Creator

This answer is calibrated for technical interviews. Verify benchmarks in local sandboxes before deploying.