typescript経由
interface CarInterior { steeringWheel: { shape: string; material: string; centerLogo: string; buttons: { left: string[]; right: string[]; }; }; dashboard: { material: string; color: string; instruments: { speedometer: string; tachometer: string; additionalGauges: string[]; }; }; pedals: { accelerator: string; brake: string; clutch: string; material: string; }; seating: { material: string; color: string; stitching: string; }; centerConsole: { gearShift: string; controls: string[]; }; details: { airVents: string; trim: string; }; } const carInterior: CarInterior = { steeringWheel: { shape: \"round with flat bottom\", material: \"suede and leather\", centerLogo: \"Aston Martin logo\", buttons: { left: [\"turn signal\", \"headlights\"], right: [\"wipers\", \"cruise control\"] } }, dashboard: { material: \"leather and carbon fiber\", color: \"black\", instruments: { speedometer: \"analog\", tachometer: \"analog\", additionalGauges: [\"fuel level\", \"temperature\"] } }, pedals: { accelerator: \"sport pedal\", brake: \"sport pedal\", clutch: \"sport pedal\", material: \"metal with rubber grips\" }, seating: { material: \"leather\", color: \"black\", stitching: \"white\" }, centerConsole: { gearShift: \"automatic\", controls: [\"infotainment system\", \"climate control\"] }, details: { airVents: \"circular with chrome accents\", trim: \"carbon fiber\" } };