René's URL Explorer Experiment


Title: Skip unrelated literal-keyed constituents when narrowing by jakebailey · Pull Request #65639 · microsoft/TypeScript · GitHub

Open Graph Title: Skip unrelated literal-keyed constituents when narrowing by jakebailey · Pull Request #65639 · microsoft/TypeScript

X Title: Skip unrelated literal-keyed constituents when narrowing by jakebailey · Pull Request #65639 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Skip unrelated literal-keyed constituents when narrowing by jakebailey · Pull Request #65639 · microsoft/TypeScript

Open Graph Description: This was found as part of #65064, surprisingly. Narrowing a union by a type guard relates each constituent of the narrowed type to each constituent of the candidate, with up to four subtype checks...

X Description: This was found as part of #65064, surprisingly. Narrowing a union by a type guard relates each constituent of the narrowed type to each constituent of the candidate, with up to four subtype checks...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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:01bf0d7f-5f72-f63f-0afa-3d0844bd6e8f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F78:3373A3:AF1761:E13A93:6B063776
html-safe-nonced86404926273276fb01f4f18907c575cc2e530e6f7a1b9752363ffe52807bdb3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Rjc4OjMzNzNBMzpBRjE3NjE6RTEzQTkzOjZCMDYzNzc2IiwidmlzaXRvcl9pZCI6IjQwMjM0MTc3ODg2NDI1MDY2MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac996915c8b4afe9ccb1e0ff24064b14fc8e9fe3038bc34bc48f63768bf6b298cc
hovercard-subject-tagpull_request:5457696638
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/65639/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4c5128a0d4785b19e607e164876d70996e8289ca923aebfec24d3515423a0ef5/microsoft/TypeScript/pull/65639
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4c5128a0d4785b19e607e164876d70996e8289ca923aebfec24d3515423a0ef5/microsoft/TypeScript/pull/65639
og:image:altThis was found as part of #65064, surprisingly. Narrowing a union by a type guard relates each constituent of the narrowed type to each constituent of the candidate, with up to four subtype checks...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejakebailey
hostnamegithub.com
expected-hostnamegithub.com
Nonec3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0
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
release9eb3bb1597d09170a5f282cd38ae376dee1a5ec1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/65639#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F65639
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%2F65639
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/65639
Reloadhttps://github.com/microsoft/TypeScript/pull/65639
Reloadhttps://github.com/microsoft/TypeScript/pull/65639
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests314 (314)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
Jake Bailey (jakebailey)https://github.com/jakebailey
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
jakebailey:fix-65620-literal-narrowinghttps://github.com/jakebailey/TypeScript/tree/fix-65620-literal-narrowing
Conversationhttps://github.com/microsoft/TypeScript/pull/65639
Commits3 (3)https://github.com/microsoft/TypeScript/pull/65639/commits
Checkshttps://github.com/microsoft/TypeScript/pull/65639/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/65639/files
Skip unrelated literal-keyed constituents when narrowinghttps://github.com/microsoft/TypeScript/pull/65639#top
Jake Bailey (jakebailey)https://github.com/jakebailey
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
jakebailey:fix-65620-literal-narrowinghttps://github.com/jakebailey/TypeScript/tree/fix-65620-literal-narrowing
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#issue-6564707441
#65064https://github.com/microsoft/TypeScript/pull/65064
#65620https://github.com/microsoft/TypeScript/issues/65620
#65620https://github.com/microsoft/TypeScript/issues/65620
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
https://github.com/jakebailey
Skip unrelated literal-keyed constituents when narrowinghttps://github.com/microsoft/TypeScript/pull/65639/commits/a946993d95d438795f65da970253ef34f0d160ce
a946993https://github.com/microsoft/TypeScript/pull/65639/commits/a946993d95d438795f65da970253ef34f0d160ce
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 23, 2026 17:13https://github.com/microsoft/TypeScript/pull/65639#event-37036319501
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
PR Backloghttps://github.com/orgs/microsoft/projects/1252
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#event-37036320888
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
PR Backloghttps://github.com/orgs/microsoft/projects/1252
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#event-37036324798
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Jake Bailey (jakebailey)https://github.com/jakebailey
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#event-37036325635
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#event-37036327314
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7108354091
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7108357049
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=170359
✅ Resultshttps://github.com/microsoft/TypeScript/pull/65639#issuecomment-7110492448
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=170360
✅ Resultshttps://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109160509
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=170361
✅ Resultshttps://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109054476
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=170362
👀 Resultshttps://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109386831
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
started reviewinghttps://github.com/microsoft/TypeScript/sessions/ce71851f-8b52-4519-a0b3-15b5a60f33ce
Jake Bailey (jakebailey)https://github.com/jakebailey
November 23, 2026 17:14https://github.com/microsoft/TypeScript/pull/65639#event-37036371687
View session https://github.com/microsoft/TypeScript/sessions/ce71851f-8b52-4519-a0b3-15b5a60f33ce
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 23, 2026 https://github.com/microsoft/TypeScript/pull/65639#pullrequestreview-6026120574
View reviewed changes https://github.com/microsoft/TypeScript/pull/65639/files/a946993d95d438795f65da970253ef34f0d160ce
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/microsoft/TypeScript/pull/65639#pullrequestreview-6026120574
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Exclude NaN enum literals from narrowing optimizationhttps://github.com/microsoft/TypeScript/pull/65639#discussion_r4669327429
#65620https://github.com/microsoft/TypeScript/issues/65620
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
tsc/internal/checker/flow.gohttps://github.com/microsoft/TypeScript/pull/65639/files/a946993d95d438795f65da970253ef34f0d160ce#diff-def119f45cc2dd09932289804836ed5416dd5c9d58baba773b84c9aa22dc1505
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109054476
Jake Bailey (@jakebailey)https://github.com/jakebailey
You can check the log herehttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=170361
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109160509
Jake Bailey (@jakebailey)https://github.com/jakebailey
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109386831
Jake Bailey (@jakebailey)https://github.com/jakebailey
Download Benchmarkshttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=170362&view=artifacts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
Jake Bailey (jakebailey)https://github.com/jakebailey
November 23, 2026 10:01https://github.com/microsoft/TypeScript/pull/65639#commits-pushed-2b31aec
https://github.com/jakebailey
Add a test narrowing by a NaN-valued enum memberhttps://github.com/microsoft/TypeScript/pull/65639/commits/2b31aec92dce7f3c3c5ba6d19d8fe7cd6b4a856a
2b31aechttps://github.com/microsoft/TypeScript/pull/65639/commits/2b31aec92dce7f3c3c5ba6d19d8fe7cd6b4a856a
https://github.com/jakebailey
Give NaN literal types no literal key when narrowinghttps://github.com/microsoft/TypeScript/pull/65639/commits/c611fc66d2c09f1824fd804ba192604b54b3f939
c611fc6https://github.com/microsoft/TypeScript/pull/65639/commits/c611fc66d2c09f1824fd804ba192604b54b3f939
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
force-pushedhttps://github.com/microsoft/TypeScript/compare/0fce222932b354c901441c0f2b996fb85e694d3c..c611fc66d2c09f1824fd804ba192604b54b3f939
0fce222https://github.com/microsoft/TypeScript/commit/0fce222932b354c901441c0f2b996fb85e694d3c
c611fc6https://github.com/microsoft/TypeScript/commit/c611fc66d2c09f1824fd804ba192604b54b3f939
Compare https://github.com/microsoft/TypeScript/compare/0fce222932b354c901441c0f2b996fb85e694d3c..c611fc66d2c09f1824fd804ba192604b54b3f939
November 23, 2026 18:01https://github.com/microsoft/TypeScript/pull/65639#event-37041005064
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109560504
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7110492448
Jake Bailey (@jakebailey)https://github.com/jakebailey
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
https://github.com/jcarosi
Julien (jcarosi)https://github.com/jcarosi
Nov 23, 2026 https://github.com/microsoft/TypeScript/pull/65639#ref-pullrequest-6570105690
fix(land): recover truncated GitHub spec trees gmickel/flow-next#651 https://github.com/gmickel/flow-next/pull/651
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Domain: Performance https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Performance%22
Nov 23, 2026https://github.com/microsoft/TypeScript/pull/65639#event-37065380638
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F65639
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/microsoft/TypeScript/pull/65639/files/a946993d95d438795f65da970253ef34f0d160ce
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
https://github.com/jakebailey
Jake Bailey (jakebailey) https://github.com/jakebailey
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
Domain: Performance https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Performance%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
An assertion over a large union of string literals never finishes https://github.com/microsoft/TypeScript/issues/65620
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65639
https://github.com/jakebailey
https://github.com/apps/copilot-pull-request-reviewer
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.