結果 : typescript loop through list of objects