2023-01-30 【TypeScript】部分型関係 SportsCar型はCar型の部分型と言える。 type Car = { price: number } type SportsCar = { price: number; speed: number; }