Quiz: Real-World TypeScript
Test your mastery of advanced type transformations, reflection, and real-world TypeScript modeling.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What type does this composition produce?
type Item = { id: number; name: string; archived?: boolean };
type Editable = Partial<Omit<Item, "id">>;
A.
{ id?: number; name?: string; archived?: boolean }
B.
{ name?: string; archived?: boolean }
C.
{ name: string; archived: boolean }
D.
{ id: number }
1 / 5
...