I\'m trying to map a list with objects with the same attribute but different type:
doStuff(list: Array | Array){ l