map enum to array typescript