ES6 is great, it reduced number of codes but typescript for everything just doesn't work.
If I would want to implement type checking for my arguments, which is already been destructed more than one level, wouldn't it be a mess? I think it's enough to use interface to do once checking at the beginning, what do you think? Or you can typecheck everything but don't overuse es6 for better readability.
<div>
{response.results.map(({id, name, stock: {day: dayStock, month: monthStock}}) => {
return(
<div>
<p>Item: {name}</p>
<p>Day Stock: {dayStock}</p>
<p>Month Stock: {monthStock}</p>
<br />
</div>
)
})}
</div>
typescript playground: https://codesandbox.io/s/v06ml2y130