結果 : typescript create object type from array of strings