interface User {
id: number;
name?: string;
nickname?: string;
}
interface Info {
id: number;
city?: string;
}
type SuperUser = User & Info;
let su: SuperUser;
su.id = 1;
console.log(su);
I experimented with intersection types in this code. Can you explain why the console is returning 'su' as undefined?