Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
microsoft
/
TypeScript
Public
Notifications
You must be signed in to change notification settings
Fork
13.7k
Star
110k
Code
Issues
5k+
Pull requests
26
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Non-widening explicit literal types
- #11126
#11126
Merged
Anders Hejlsberg (ahejlsberg)
merged 12 commits into
master
microsoft/TypeScript:master
from
nonWideningLiterals
microsoft/TypeScript:nonWideningLiterals
Copy head branch name to clipboard
Sep 26, 2016
Conversation
Commits
12
(12)
Checks
Files changed
Merged
Non-widening explicit literal types
#11126
Anders Hejlsberg (ahejlsberg)
merged 12 commits into
master
microsoft/TypeScript:master
from
nonWideningLiterals
microsoft/TypeScript:nonWideningLiterals
Copy head branch name to clipboard
Commits
Commits on Sep 23, 2016
Track freshness of string and numeric literals
Anders Hejlsberg (ahejlsberg)
committed
7d4a187
View commit details
Copy full SHA for 7d4a187
Browse repository at this point
Only widen fresh literal types
Anders Hejlsberg (ahejlsberg)
committed
a3c18b4
View commit details
Copy full SHA for a3c18b4
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
b9adef6
View commit details
Copy full SHA for b9adef6
Browse repository at this point
Commits on Sep 24, 2016
Emit widened literal type for const without type annotation
Anders Hejlsberg (ahejlsberg)
committed
55034d8
View commit details
Copy full SHA for 55034d8
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
ed003b9
View commit details
Copy full SHA for ed003b9
Browse repository at this point
Lazily create fresh literal types
Anders Hejlsberg (ahejlsberg)
committed
e6efb15
View commit details
Copy full SHA for e6efb15
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
4a78047
View commit details
Copy full SHA for 4a78047
Browse repository at this point
Add tests
Anders Hejlsberg (ahejlsberg)
committed
9771f42
View commit details
Copy full SHA for 9771f42
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
a8e0042
View commit details
Copy full SHA for a8e0042
Browse repository at this point
Commits on Sep 26, 2016
String and numeric literal initializes in ambient const declarations
Anders Hejlsberg (ahejlsberg)
committed
e1d5bdf
View commit details
Copy full SHA for e1d5bdf
Browse repository at this point
Accept new baselines
Anders Hejlsberg (ahejlsberg)
committed
791ae5b
View commit details
Copy full SHA for 791ae5b
Browse repository at this point
Add tests
Anders Hejlsberg (ahejlsberg)
committed
b6b8e8c
View commit details
Copy full SHA for b6b8e8c
Browse repository at this point
You can’t perform that action at this time.