Glossary: TypeScript Beyond the Basics
Mapped type
Also written: mapped types
A type like `{ [K in keyof T]: ... }` that builds an object type with one property for each key in a union. `Partial` and `Readonly` are mapped types.
Glossary: TypeScript Beyond the Basics
Also written: mapped types
A type like `{ [K in keyof T]: ... }` that builds an object type with one property for each key in a union. `Partial` and `Readonly` are mapped types.