QuizAdvanced

Mapped Types Basics

Creating a new type by iterating over keys of another type.

What does `type Flags<T> = { [K in keyof T]: boolean }` produce for `Flags<{ a: number; b: string }>`?