Explore Library
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`?