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...
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 }
Question 1 of 50 attempted
...