Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
microsoft
TypeScript
Repository navigation
Code
Issues
4.9k
(4.9k)
Pull requests
293
(293)
Actions
Projects
Wiki
Security and quality
Insights
More
items
String valued members in enums
- #15486
#15486
Merged
Anders Hejlsberg (ahejlsberg)
merged 22 commits into
master
microsoft/TypeScript:master
from
literalEnumTypes
microsoft/TypeScript:literalEnumTypes
Copy head branch name to clipboard
May 17, 2017
Conversation
Commits
22
(22)
Checks
Files changed
Merged
String valued members in enums
#15486
Anders Hejlsberg (ahejlsberg)
merged 22 commits into
master
microsoft/TypeScript:master
from
literalEnumTypes
microsoft/TypeScript:literalEnumTypes
Copy head branch name to clipboard
Commits
Commits on Apr 25, 2017
Clean up computeEnumMemberValues function
Anders Hejlsberg (ahejlsberg)
committed
8a1456f
View commit details
Copy full SHA for 8a1456f
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
f61efe5
View commit details
Copy full SHA for f61efe5
Browse repository at this point
Commits on Apr 26, 2017
Store actual literal value in LiteralType instances
Anders Hejlsberg (ahejlsberg)
committed
19a1c2c
View commit details
Copy full SHA for 19a1c2c
Browse repository at this point
Commits on Apr 28, 2017
Classify literal enum members and NumberLiteral/StringLiteral etc.
Anders Hejlsberg (ahejlsberg)
committed
a504022
View commit details
Copy full SHA for a504022
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
50a37ce
View commit details
Copy full SHA for 50a37ce
Browse repository at this point
Fix type-to-string handling of enum literal types
Anders Hejlsberg (ahejlsberg)
committed
d2fdebe
View commit details
Copy full SHA for d2fdebe
Browse repository at this point
Commits on Apr 29, 2017
Support string valued members in literal enums
Anders Hejlsberg (ahejlsberg)
committed
9e7cdb4
View commit details
Copy full SHA for 9e7cdb4
Browse repository at this point
Update test
Anders Hejlsberg (ahejlsberg)
committed
1f1af27
View commit details
Copy full SHA for 1f1af27
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
be0fc3b
View commit details
Copy full SHA for be0fc3b
Browse repository at this point
Treat enums with a single literal member as literal enums
Anders Hejlsberg (ahejlsberg)
committed
63319d1
View commit details
Copy full SHA for 63319d1
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
72e77a8
View commit details
Copy full SHA for 72e77a8
Browse repository at this point
Commits on Apr 30, 2017
Enum literal type is assignable to regular literal type with same value
Anders Hejlsberg (ahejlsberg)
committed
106214a
View commit details
Copy full SHA for 106214a
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
68036c5
View commit details
Copy full SHA for 68036c5
Browse repository at this point
Cache source and target flags in local variables
Anders Hejlsberg (ahejlsberg)
committed
925d97d
View commit details
Copy full SHA for 925d97d
Browse repository at this point
Update comment
Anders Hejlsberg (ahejlsberg)
committed
3a96b24
View commit details
Copy full SHA for 3a96b24
Browse repository at this point
Update old test
Anders Hejlsberg (ahejlsberg)
committed
21d8e9a
View commit details
Copy full SHA for 21d8e9a
Browse repository at this point
Add new tests
Anders Hejlsberg (ahejlsberg)
committed
6548bcf
View commit details
Copy full SHA for 6548bcf
Browse repository at this point
Commits on May 1, 2017
Fix declaration emit for string valued enum members
Anders Hejlsberg (ahejlsberg)
committed
640e8f5
View commit details
Copy full SHA for 640e8f5
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
25a01c0
View commit details
Copy full SHA for 25a01c0
Browse repository at this point
A couple of small simplifications
Anders Hejlsberg (ahejlsberg)
committed
ceb78f9
View commit details
Copy full SHA for ceb78f9
Browse repository at this point
Commits on May 17, 2017
Merge branch 'master' into literalEnumTypes
Show description for 947abf5
Anders Hejlsberg (ahejlsberg)
committed
947abf5
View commit details
Copy full SHA for 947abf5
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
6a7b6d3
View commit details
Copy full SHA for 6a7b6d3
Browse repository at this point
You can’t perform that action at this time.