René's URL Explorer Experiment


Title: Allow string enum in element access by sandersn · Pull Request #18029 · microsoft/TypeScript · GitHub

Open Graph Title: Allow string enum in element access by sandersn · Pull Request #18029 · microsoft/TypeScript

X Title: Allow string enum in element access by sandersn · Pull Request #18029 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Allow string enum in element access by sandersn · Pull Request #18029 · microsoft/TypeScript

Open Graph Description: Fixes #16760 Previously literal union types were disallowed to improve errors by printing boolean instead of true | false. But string enums are literal union types that should be allowed, so now on...

X Description: Fixes #16760 Previously literal union types were disallowed to improve errors by printing boolean instead of true | false. But string enums are literal union types that should be allowed, so now on...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:ef4f4a63-af0e-3e86-2012-e2c7283f100f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8588:1F98:2B86A28:3A35EBE:6B045B47
html-safe-nonce2d07de6fad0d9388e58d08315f0296fbe3b84f8e5ce09c289d87fe72fe0f1d2e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTg4OjFGOTg6MkI4NkEyODozQTM1RUJFOjZCMDQ1QjQ3IiwidmlzaXRvcl9pZCI6IjcwMDA4MTA1NjI3MjQ4NDY0MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac422011eb0d43b8d092603df3869a56bc6483a870d4c9210be59c690b3463c745
hovercard-subject-tagpull_request:137552407
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/18029/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/68155d75e52e1ef562774023073a697cd5d6e91c44e23d38a9ad8301438ff5c9/microsoft/TypeScript/pull/18029
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/68155d75e52e1ef562774023073a697cd5d6e91c44e23d38a9ad8301438ff5c9/microsoft/TypeScript/pull/18029
og:image:altFixes #16760 Previously literal union types were disallowed to improve errors by printing boolean instead of true | false. But string enums are literal union types that should be allowed, so now on...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesandersn
hostnamegithub.com
expected-hostnamegithub.com
None2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6
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
release03e114520787ad27289207f153520ef97461127c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/18029#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F18029
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%2F18029
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/18029
Reloadhttps://github.com/microsoft/TypeScript/pull/18029
Reloadhttps://github.com/microsoft/TypeScript/pull/18029
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests320 (320)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/insights
https://github.com/microsoft/TypeScript
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
allow-string-enum-in-element-accesshttps://github.com/microsoft/TypeScript/tree/allow-string-enum-in-element-access
Conversationhttps://github.com/microsoft/TypeScript/pull/18029
Commits4 (4)https://github.com/microsoft/TypeScript/pull/18029/commits
Checkshttps://github.com/microsoft/TypeScript/pull/18029/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/18029/files
Allow string enum in element accesshttps://github.com/microsoft/TypeScript/pull/18029#top
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
allow-string-enum-in-element-accesshttps://github.com/microsoft/TypeScript/tree/allow-string-enum-in-element-access
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Aug 24, 2017https://github.com/microsoft/TypeScript/pull/18029#issue-252732246
#16760https://github.com/microsoft/TypeScript/issues/16760
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18029
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
August 24, 2017 14:04https://github.com/microsoft/TypeScript/pull/18029#commits-pushed-5534899
https://github.com/sandersn
Allow string enums in element accesshttps://github.com/microsoft/TypeScript/pull/18029/commits/5534899e2a0bd6d9e27177d7ab1fd94f06717082
5534899https://github.com/microsoft/TypeScript/pull/18029/commits/5534899e2a0bd6d9e27177d7ab1fd94f06717082
https://github.com/sandersn
Test:string enum in element accesshttps://github.com/microsoft/TypeScript/pull/18029/commits/d7d69a16226408aefa78082fcefd7ae5a01ee9f0
d7d69a1https://github.com/microsoft/TypeScript/pull/18029/commits/d7d69a16226408aefa78082fcefd7ae5a01ee9f0
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
Aug 24, 2017https://github.com/microsoft/TypeScript/pull/18029#event-1220509341
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
August 24, 2017 21:10https://github.com/microsoft/TypeScript/pull/18029#event-1220509422
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Aug 24, 2017 https://github.com/microsoft/TypeScript/pull/18029#ref-issue-238774019
String enum can't be used to index into an object #16760 https://github.com/microsoft/TypeScript/issues/16760
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Aug 25, 2017 https://github.com/microsoft/TypeScript/pull/18029#pullrequestreview-58681192
View reviewed changes https://github.com/microsoft/TypeScript/pull/18029/files/d7d69a16226408aefa78082fcefd7ae5a01ee9f0
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/18029/files/d7d69a16226408aefa78082fcefd7ae5a01ee9f0#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Deleted user (ghost)https://github.com/ghost
Aug 25, 2017https://github.com/microsoft/TypeScript/pull/18029#discussion_r135282475
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18029
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Aug 28, 2017https://github.com/microsoft/TypeScript/pull/18029#discussion_r135593219
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18029
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
August 28, 2017 11:00https://github.com/microsoft/TypeScript/pull/18029#commits-pushed-197040d
https://github.com/sandersn
Merge branch 'master' into allow-string-enum-in-element-accesshttps://github.com/microsoft/TypeScript/pull/18029/commits/197040d3fdf476640fab53d0eaf33a775117cf0c
197040dhttps://github.com/microsoft/TypeScript/pull/18029/commits/197040d3fdf476640fab53d0eaf33a775117cf0c
https://github.com/sandersn
Explain boolean exception in getIndexedAccessTypehttps://github.com/microsoft/TypeScript/pull/18029/commits/8087206078f07f99f4e70f257661575e505ac293
8087206https://github.com/microsoft/TypeScript/pull/18029/commits/8087206078f07f99f4e70f257661575e505ac293
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Aug 28, 2017 https://github.com/microsoft/TypeScript/pull/18029#pullrequestreview-59031461
View reviewed changes https://github.com/microsoft/TypeScript/pull/18029/files/8087206078f07f99f4e70f257661575e505ac293
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Aug 28, 2017 https://github.com/microsoft/TypeScript/pull/18029#pullrequestreview-59044826
View reviewed changes https://github.com/microsoft/TypeScript/pull/18029/files/8087206078f07f99f4e70f257661575e505ac293
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
278dcc6https://github.com/microsoft/TypeScript/commit/278dcc6faccb322c9976d05cebad5384a123ed68
Aug 28, 2017https://github.com/microsoft/TypeScript/pull/18029#event-1224398011
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
August 28, 2017 19:56https://github.com/microsoft/TypeScript/pull/18029#event-1224398162
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Aug 30, 2017 https://github.com/microsoft/TypeScript/pull/18029#ref-issue-243976352
Issue with mapped types and enums #17288 https://github.com/microsoft/TypeScript/issues/17288
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Oct 30, 2017 https://github.com/microsoft/TypeScript/pull/18029#ref-issue-269282342
Enum lookup for map type [P in Enum] gives "implicit any index" error #19546 https://github.com/microsoft/TypeScript/issues/19546
https://github.com/appsforartists
Brenton Simpson (appsforartists)https://github.com/appsforartists
Mar 26, 2018 https://github.com/microsoft/TypeScript/pull/18029#ref-issue-308770247
Using string enum as key in {[key]: Type} throws not an index signature #22892 https://github.com/microsoft/TypeScript/issues/22892
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 14, 2018https://github.com/microsoft/TypeScript/pull/18029#event-1682132778
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%2F18029
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
https://github.com/mhegazy
Mohamed Hegazy (mhegazy) https://github.com/mhegazy
https://github.com/microsoft/TypeScript/pull/18029/files/8087206078f07f99f4e70f257661575e505ac293
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18029
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18029
https://github.com/sandersn
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.