For this you will need to run an apply - this allo...
# general
b
For this you will need to run an apply - this allows you to control the cast when the promise resolves In JavaScript I would do this as .id.apply(id => parseInt(id))