typescript enum to array key value