๐ท Interfaces
interface User { id: string; name: string }const u: User = { id: '1', name: 'Ada' };
Structural: shape matters, not nominal type identity.
interface User { id: string; name: string }const u: User = { id: '1', name: 'Ada' };
Structural: shape matters, not nominal type identity.