結果 : typescript map union type to array