Master Any Topic, One Flashcard at a Time.
Receive beautifully-styled, AI-generated flashcards on absolutely any topic you choose. Customize your subscription schedule and build structured knowledge daily.
Flexible Schedule
Map topics to days of the week
Rich Flashcards
With explanations & code snippets
Search Any Topic
AI dynamically generates new subjects
Mapped Types
How do mapped types work in TypeScript, and what operator is used to iterate over keys?
The "in" Operator
Mapped types iterate over union keys using the `in` operator. They let you dynamically map or transform property modifiers like `readonly` or optional flags `?`.
type Readonly<T> = {
readonly [P in keyof T]: T[P];
};


