typescript loop through enum values