I have this code
type VehicleDetails = {made: string}
function doSomethingWithVehicleDetails (details: VehicleDetails) { //what to add here for newProperty?
console.log(details);
}
doSomethingWithVehicleDetails({ made: '123', newProperty: true })
without modifying type VehicleDetails = {made: string}
, how can I add newProperty in doSomethingWithVehicleDetails
argument to fix the error?