// interface6.ts interface IPerson2 { name: string; age?: number; } interface IKorean extends IPerson2 { city: string; } const k: IKorean = { name: '슬', city: '서울', };