I'm trying to convert underscore library code to new angular
Original code
materials : _.map(this.materials, function (item) {
return {
InventoryItemNumber: item.product.ItemNumber,
Quantity: item.quantity
};
})```
What I have so far
```ts
materials: this.materials.map((item: any) => {
item.product.itemNumber,
item.quantity
}),```
I need to get those alias into the new code how can I do this?