What are Mapped Types in TypeScript, and provide an example?

Instruction: Explain the concept of Mapped Types and illustrate with an example.

Context: This question tests the candidate's knowledge and application of Mapped Types in TypeScript, a powerful feature for creating new types based on existing ones.

Upgrade to view answer

Related Questions