interface IBox { x: number; y: number; } interface IBox { x: number; z: string; } let sc: IBox = { x: 1, y: 1, z: '' };