結果 : get type of object in array typescript