

Why does this code fail to compile?
Trace the program the way the computer would, then make your call before running anything.
interface User { id: number; name: string; }
const u: User = { id: 1 };

Trace the program the way the computer would, then make your call before running anything.
interface User { id: number; name: string; }
const u: User = { id: 1 };