結果 : typescript get object type from array