QuizAdvanced
Interfaces and Type Annotations
Understanding how to correctly annotate object shapes with TypeScript interfaces.
Given `interface User { name: string; age: number; }`, which object is a valid `User`?
Understanding how to correctly annotate object shapes with TypeScript interfaces.
Given `interface User { name: string; age: number; }`, which object is a valid `User`?