René's URL Explorer Experiment


Title: Always use literal types by ahejlsberg · Pull Request #10676 · microsoft/TypeScript · GitHub

Open Graph Title: Always use literal types by ahejlsberg · Pull Request #10676 · microsoft/TypeScript

X Title: Always use literal types by ahejlsberg · Pull Request #10676 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Always use literal types by ahejlsberg · Pull Request #10676 · microsoft/TypeScript

Open Graph Description: This PR switches our approach to literal types from being a concept we sometimes use to a concept we consistently use. Previously we'd only use literal types in "literal type locations&quo...

X Description: This PR switches our approach to literal types from being a concept we sometimes use to a concept we consistently use. Previously we'd only use literal types in "literal type locat...

Opengraph URL: https://github.com/microsoft/TypeScript/pull/10676

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:daec0cea-9784-f038-9698-c2466259c1ca
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id872A:21705E:8DB7D4:C27D8C:6AFBD44B
html-safe-nonce905502244b3740ee46975007be828352e64d342af5f975d246f6171d21cd328b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzJBOjIxNzA1RTo4REI3RDQ6QzI3RDhDOjZBRkJENDRCIiwidmlzaXRvcl9pZCI6IjMwMzc5OTQ3NzMwMTM4NDUwNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac064eaae275dad0b762cb54d16d2a3c48841803d0386a0fa744f0da077441fde6
hovercard-subject-tagpull_request:83725748
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/10676/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/634cad228ea1136caff77e2619a8540a18ec75d2679d8b5e4df7edcb92f9c213/microsoft/TypeScript/pull/10676
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/634cad228ea1136caff77e2619a8540a18ec75d2679d8b5e4df7edcb92f9c213/microsoft/TypeScript/pull/10676
og:image:altThis PR switches our approach to literal types from being a concept we sometimes use to a concept we consistently use. Previously we'd only use literal types in "literal type locations&quo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/10676#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F10676
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F10676
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/10676
Reloadhttps://github.com/microsoft/TypeScript/pull/10676
Reloadhttps://github.com/microsoft/TypeScript/pull/10676
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests334 (334)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/pulse
https://github.com/microsoft/TypeScript
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
literalTypesAlwayshttps://github.com/microsoft/TypeScript/tree/literalTypesAlways
Conversationhttps://github.com/microsoft/TypeScript/pull/10676
Commits36 (36)https://github.com/microsoft/TypeScript/pull/10676/commits
Checkshttps://github.com/microsoft/TypeScript/pull/10676/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/10676/files
Always use literal typeshttps://github.com/microsoft/TypeScript/pull/10676#top
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
literalTypesAlwayshttps://github.com/microsoft/TypeScript/tree/literalTypesAlways
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 1, 2016https://github.com/microsoft/TypeScript/pull/10676#issue-174651709
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
#11126https://github.com/microsoft/TypeScript/pull/11126
#11126https://github.com/microsoft/TypeScript/pull/11126
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
September 1, 2016 06:47https://github.com/microsoft/TypeScript/pull/10676#commits-pushed-b96f6cd
https://github.com/ahejlsberg
Union type instead of best common supertype for multiple return state…https://github.com/microsoft/TypeScript/pull/10676/commits/b96f6cd84ca1f920c2c44b899d49d45b24c71be1
b96f6cdhttps://github.com/microsoft/TypeScript/pull/10676/commits/b96f6cd84ca1f920c2c44b899d49d45b24c71be1
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/10676/commits/b5c2d5b111e16849d724718216f8ea88dc70db0d
b5c2d5bhttps://github.com/microsoft/TypeScript/pull/10676/commits/b5c2d5b111e16849d724718216f8ea88dc70db0d
https://github.com/ahejlsberg
Always use literal types for literalshttps://github.com/microsoft/TypeScript/pull/10676/commits/a8063dfb68677214941a666c9b33cf4389f6bc23
a8063dfhttps://github.com/microsoft/TypeScript/pull/10676/commits/a8063dfb68677214941a666c9b33cf4389f6bc23
https://github.com/ahejlsberg
Always keep literal types and widen when inferred as types for mutabl…https://github.com/microsoft/TypeScript/pull/10676/commits/adc015dc5ea1be3b60c1394044e46c8d73c406ad
adc015dhttps://github.com/microsoft/TypeScript/pull/10676/commits/adc015dc5ea1be3b60c1394044e46c8d73c406ad
https://github.com/ahejlsberg
Update testshttps://github.com/microsoft/TypeScript/pull/10676/commits/44e1096ea92211a4c919cd021ea5dbf7d83909e3
44e1096https://github.com/microsoft/TypeScript/pull/10676/commits/44e1096ea92211a4c919cd021ea5dbf7d83909e3
https://github.com/ahejlsberg
Accept new baselines (huge!)https://github.com/microsoft/TypeScript/pull/10676/commits/33b81095a6081c1165edef12c1aa85cfc616c355
33b8109https://github.com/microsoft/TypeScript/pull/10676/commits/33b81095a6081c1165edef12c1aa85cfc616c355
https://github.com/ahejlsberg
Fix lint errorshttps://github.com/microsoft/TypeScript/pull/10676/commits/cf55bf91a07c9725528c3ecd1ce5cf14582dbc17
cf55bf9https://github.com/microsoft/TypeScript/pull/10676/commits/cf55bf91a07c9725528c3ecd1ce5cf14582dbc17
https://github.com/ahejlsberg
Fix fourslash testshttps://github.com/microsoft/TypeScript/pull/10676/commits/feeb2042600833ab8b645df0f9fe22b8a3f627ae
feeb204https://github.com/microsoft/TypeScript/pull/10676/commits/feeb2042600833ab8b645df0f9fe22b8a3f627ae
https://github.com/ahejlsberg
Remove failing fourslash tests (may need to be restored and fixed)https://github.com/microsoft/TypeScript/pull/10676/commits/2a60f798695b8ba35e549eb987fb383aff71ec57
2a60f79https://github.com/microsoft/TypeScript/pull/10676/commits/2a60f798695b8ba35e549eb987fb383aff71ec57
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-not-required https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-not-required
Sep 1, 2016https://github.com/microsoft/TypeScript/pull/10676#event-775931411
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 1, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244247630
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 2, 2016 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-163512565
Union Types And Strings #9489 https://github.com/microsoft/TypeScript/issues/9489
https://github.com/Igorbek
Igor Oleinikov (Igorbek)https://github.com/Igorbek
Sep 2, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244255103
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 2, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244257359
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
Igor Oleinikov (@Igorbek)https://github.com/Igorbek
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Sep 2, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244264887
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/joewood
Joe Wood (joewood)https://github.com/joewood
Sep 2, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244270567
Alexandre Galays (@AlexGalays)https://github.com/AlexGalays
#6613 (comment)https://github.com/microsoft/TypeScript/issues/6613#issuecomment-243350564
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 2, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244277738
Alexandre Galays (@AlexGalays)https://github.com/AlexGalays
#6613https://github.com/microsoft/TypeScript/issues/6613
#6613https://github.com/microsoft/TypeScript/issues/6613
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/Igorbek
Igor Oleinikov (Igorbek)https://github.com/Igorbek
Sep 2, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244296646
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/Igorbek
Igor Oleinikov (Igorbek)https://github.com/Igorbek
Sep 2, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244297855
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/alitaheri
Ali Taheri Moghaddar (alitaheri)https://github.com/alitaheri
Sep 2, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244303208
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 2, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244369374
Ali Taheri Moghaddar (@alitaheri)https://github.com/alitaheri
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 2, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244372223
Igor Oleinikov (@Igorbek)https://github.com/Igorbek
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/OliverJAsh
Oliver Joseph Ash (OliverJAsh)https://github.com/OliverJAsh
Sep 2, 2016 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-174797577
Literal type not inferred correctly when using generics #10685 https://github.com/microsoft/TypeScript/issues/10685
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
September 2, 2016 09:42https://github.com/microsoft/TypeScript/pull/10676#commits-pushed-b3c9571
https://github.com/ahejlsberg
Restrict widening of literal types in type argument inferencehttps://github.com/microsoft/TypeScript/pull/10676/commits/b3c9571d6fb9cb4e7bcb4b30832b451791d43266
b3c9571https://github.com/microsoft/TypeScript/pull/10676/commits/b3c9571d6fb9cb4e7bcb4b30832b451791d43266
https://github.com/ahejlsberg
Readonly properties in classes are considered immutable locationshttps://github.com/microsoft/TypeScript/pull/10676/commits/6ae71cb7eda51ba75c403d442c0e861a0e9d7864
6ae71cbhttps://github.com/microsoft/TypeScript/pull/10676/commits/6ae71cb7eda51ba75c403d442c0e861a0e9d7864
https://github.com/ahejlsberg
Keep literal return types only when contextually typed by type contai…https://github.com/microsoft/TypeScript/pull/10676/commits/b10f79b106126796ea644db93df7242728b3b5b8
b10f79bhttps://github.com/microsoft/TypeScript/pull/10676/commits/b10f79b106126796ea644db93df7242728b3b5b8
https://github.com/ahejlsberg
Perform return type widening checks after union type is formedhttps://github.com/microsoft/TypeScript/pull/10676/commits/4b9b90a2b443c2089c8dbf84dc1f1123815a5d7e
4b9b90ahttps://github.com/microsoft/TypeScript/pull/10676/commits/4b9b90a2b443c2089c8dbf84dc1f1123815a5d7e
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/10676/commits/db230a2a0dfaaa253e85c19293ea98ac01fd3bd4
db230a2https://github.com/microsoft/TypeScript/pull/10676/commits/db230a2a0dfaaa253e85c19293ea98ac01fd3bd4
https://github.com/ahejlsberg
Removing old commenthttps://github.com/microsoft/TypeScript/pull/10676/commits/694705f168582da4ed67f2e83b976d752f3abea7
694705fhttps://github.com/microsoft/TypeScript/pull/10676/commits/694705f168582da4ed67f2e83b976d752f3abea7
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 3, 2016https://github.com/microsoft/TypeScript/pull/10676#issuecomment-244552413
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Oct 18, 2016 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-183796547
Erroneous error when assigning to string literal union type #11714 https://github.com/microsoft/TypeScript/issues/11714
https://github.com/rictic
Peter Burns (rictic)https://github.com/rictic
Nov 9, 2016 https://github.com/microsoft/TypeScript/pull/10676#ref-pullrequest-188135368
Enable strictNullChecks Polymer/polymer-cli#462 https://github.com/Polymer/polymer-cli/pull/462
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Nov 11, 2016 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-188703514
TypeScript Compiler does not understand resulting types when using && #12174 https://github.com/microsoft/TypeScript/issues/12174
https://github.com/SlurpTheo
SlurpTheohttps://github.com/SlurpTheo
Nov 30, 2016 https://github.com/microsoft/TypeScript/pull/10676#ref-pullrequest-39994040
Adding support for tuple types (e.g. [number, string]) #428 https://github.com/microsoft/TypeScript/pull/428
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Dec 1, 2016 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-122977894
allow constants for string literals types #6151 https://github.com/microsoft/TypeScript/issues/6151
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Dec 1, 2016 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-192840300
Use variable declared as const as literal type #12603 https://github.com/microsoft/TypeScript/issues/12603
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Dec 13, 2016 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-195239234
Typecast string to string literal #12879 https://github.com/microsoft/TypeScript/issues/12879
https://github.com/HerringtonDarkholme
Herrington Darkholme (HerringtonDarkholme)https://github.com/HerringtonDarkholme
Dec 22, 2016 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-197079770
Readonly vars getting typecast to "false" instead of "boolean" #13113 https://github.com/microsoft/TypeScript/issues/13113
https://github.com/dsherret
David Sherret (dsherret)https://github.com/dsherret
Jan 6, 2017 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-199257223
Incorrect type of implicitly typed const variables dsherret/ts-type-info#222 https://github.com/dsherret/ts-type-info/issues/222
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Feb 10, 2017 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-206446837
Wrong return type inference with the Union of Literal types #13972 https://github.com/microsoft/TypeScript/issues/13972
https://github.com/hinell
hinell (hinell)https://github.com/hinell
Feb 15, 2017 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-207904842
[Literals][Indexes][Type assertion] Is that a bug? #14093 https://github.com/microsoft/TypeScript/issues/14093
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 14, 2017 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-220832962
Assert when type inference can't find a common supertype #15116 https://github.com/microsoft/TypeScript/issues/15116
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 5, 2017 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-229097710
Declaration emit widens literal types in readonly properties #15881 https://github.com/microsoft/TypeScript/issues/15881
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 14, 2017 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-235927409
Type inference problems when using string literal types #16523 https://github.com/microsoft/TypeScript/issues/16523
https://github.com/stepancar
Stepan Mikhailiuk (stepancar)https://github.com/stepancar
Jun 21, 2017 https://github.com/microsoft/TypeScript/pull/10676#ref-pullrequest-237164585
feat(typings): allow to get component info separate to typings alfa-laboratory/library-utils#9 https://github.com/alfa-laboratory/library-utils/pull/9
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
Jun 26, 2017https://github.com/microsoft/TypeScript/pull/10676#issuecomment-311214139
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Jun 30, 2017 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-239710916
TS2365 #16854 https://github.com/microsoft/TypeScript/issues/16854
TS2345 error with discriminated unions #17480 https://github.com/microsoft/TypeScript/issues/17480
Documentation: literal "types" #18102 https://github.com/microsoft/TypeScript/issues/18102
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Oct 11, 2017 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-263411217
keyof erasure in generic union types #18990 https://github.com/microsoft/TypeScript/issues/18990
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Oct 26, 2017 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-268808049
Interface with methods interferes with string literal type inference #19497 https://github.com/microsoft/TypeScript/issues/19497
https://github.com/vituchon
Vituchon (vituchon)https://github.com/vituchon
Oct 26, 2017https://github.com/microsoft/TypeScript/pull/10676#issuecomment-339801799
https://github.com/ahejlsberghttps://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
Returned Enum value has its type needlessly widened #20254 https://github.com/microsoft/TypeScript/issues/20254
String Literal Type does not work #20271 https://github.com/microsoft/TypeScript/issues/20271
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Feb 8, 2018 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-208992947
Define literal type during object declaration #14194 https://github.com/microsoft/TypeScript/issues/14194
https://github.com/sylvanaar
Jon S Akhtar (sylvanaar)https://github.com/sylvanaar
Feb 22, 2018 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-299383035
Proposal: A way to infer unique symbol and enum member #22118 https://github.com/microsoft/TypeScript/issues/22118
Mar 2, 2018 https://github.com/microsoft/TypeScript/pull/10676#ref-pullrequest-301842014
Don't treat return as a yield #22299 https://github.com/microsoft/TypeScript/pull/22299
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Mar 2, 2018 https://github.com/microsoft/TypeScript/pull/10676#ref-issue-297867015
Intersection of enum union with literal is unexpectedly never #21998 https://github.com/microsoft/TypeScript/issues/21998
https://github.com/raymondfeng
Raymond Feng (raymondfeng)https://github.com/raymondfeng
Apr 20, 2018 https://github.com/microsoft/TypeScript/pull/10676#ref-pullrequest-316332473
Cast "header" to ParameterLocation to avoid ts-node 6.x error metadevpro/openapi3-ts#21 https://github.com/metadevpro/openapi3-ts/pull/21
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 19, 2018https://github.com/microsoft/TypeScript/pull/10676#event-1689911931
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F10676
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
Breaking Change https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
Domain: Literal Types https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Literal%20Types%22
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/10676
https://github.com/ahejlsberg
https://github.com/Igorbek
https://github.com/RyanCavanaugh
https://github.com/joewood
https://github.com/alitaheri
https://github.com/T-Hugs
https://github.com/thorn0
https://github.com/JsonFreeman
https://github.com/danielearwicker
https://github.com/yahiko00
https://github.com/aluanhaddad
https://github.com/ethanresnick
https://github.com/zpdDG4gta8XKpMCd
https://github.com/masaeedu
https://github.com/vituchon
https://github.com/DanielRosenwasser
https://github.com/mhegazy
https://github.com/msftclas
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.