結果 : how to give type to array of objects typescript