結果 : typescript convert string array to union type