Obtenez tous les ID dans un tableau d'objets TS

array.map(s=>s.id)
Silly Serval