CodeZettaInterview Hub

TypeScript · Mapped Types · Fresh / Intern · Concept

What is a mapped type?

Short Interview Answer

{ [K in keyof T]: ... } transforms each property systematically.

Detailed Explanation

Powers Partial/Readonly/Pick. Can remap keys with as clauses.

Did you know this answer?