結果 : how to define array of object type in typescript