| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:01bf0d7f-5f72-f63f-0afa-3d0844bd6e8f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8F78:3373A3:AF1761:E13A93:6B063776 |
| html-safe-nonce | d86404926273276fb01f4f18907c575cc2e530e6f7a1b9752363ffe52807bdb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Rjc4OjMzNzNBMzpBRjE3NjE6RTEzQTkzOjZCMDYzNzc2IiwidmlzaXRvcl9pZCI6IjQwMjM0MTc3ODg2NDI1MDY2MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 996915c8b4afe9ccb1e0ff24064b14fc8e9fe3038bc34bc48f63768bf6b298cc |
| hovercard-subject-tag | pull_request:5457696638 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/65639/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/4c5128a0d4785b19e607e164876d70996e8289ca923aebfec24d3515423a0ef5/microsoft/TypeScript/pull/65639 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4c5128a0d4785b19e607e164876d70996e8289ca923aebfec24d3515423a0ef5/microsoft/TypeScript/pull/65639 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jakebailey |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/65639#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F65639 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F65639 |
| Sign up | https://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 |
| Reload | https://github.com/microsoft/TypeScript/pull/65639 |
| Reload | https://github.com/microsoft/TypeScript/pull/65639 |
| Reload | https://github.com/microsoft/TypeScript/pull/65639 |
| microsoft | https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
| Code | https://github.com/microsoft/TypeScript |
| Issues5k (5k) | https://github.com/microsoft/TypeScript/issues |
| Pull requests314 (314) | https://github.com/microsoft/TypeScript/pulls |
| Actions | https://github.com/microsoft/TypeScript/actions |
| Projects | https://github.com/microsoft/TypeScript/projects |
| Wiki | https://github.com/microsoft/TypeScript/wiki |
| Security and quality | https://github.com/microsoft/TypeScript/security |
| Insights | https://github.com/microsoft/TypeScript/insights |
| https://github.com/microsoft/TypeScript |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| jakebailey:fix-65620-literal-narrowing | https://github.com/jakebailey/TypeScript/tree/fix-65620-literal-narrowing |
| Conversation | https://github.com/microsoft/TypeScript/pull/65639 |
| Commits3 (3) | https://github.com/microsoft/TypeScript/pull/65639/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/65639/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/65639/files |
| Skip unrelated literal-keyed constituents when narrowing | https://github.com/microsoft/TypeScript/pull/65639#top |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| jakebailey:fix-65620-literal-narrowing | https://github.com/jakebailey/TypeScript/tree/fix-65620-literal-narrowing |
|
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#issue-6564707441 |
| #65064 | https://github.com/microsoft/TypeScript/pull/65064 |
| #65620 | https://github.com/microsoft/TypeScript/issues/65620 |
| #65620 | https://github.com/microsoft/TypeScript/issues/65620 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/65639 |
|
| https://github.com/jakebailey |
| Skip unrelated literal-keyed constituents when narrowing | https://github.com/microsoft/TypeScript/pull/65639/commits/a946993d95d438795f65da970253ef34f0d160ce |
| a946993 | https://github.com/microsoft/TypeScript/pull/65639/commits/a946993d95d438795f65da970253ef34f0d160ce |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| November 23, 2026 17:13 | https://github.com/microsoft/TypeScript/pull/65639#event-37036319501 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| PR Backlog | https://github.com/orgs/microsoft/projects/1252 |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#event-37036320888 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| PR Backlog | https://github.com/orgs/microsoft/projects/1252 |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#event-37036324798 |
| https://github.com/apps/typescript-automation |
| typescript-automation | https://github.com/apps/typescript-automation |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#event-37036325635 |
| https://github.com/apps/typescript-automation |
| typescript-automation | https://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, 2026 | https://github.com/microsoft/TypeScript/pull/65639#event-37036327314 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7108354091 |
| TypeScript Bot (@typescript-bot) | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/65639 |
| https://github.com/apps/typescript-automation |
| typescript-automation | https://github.com/apps/typescript-automation |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7108357049 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/65639 |
| ✅ Started | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=170359 |
| ✅ Results | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7110492448 |
| ✅ Started | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=170360 |
| ✅ Results | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109160509 |
| ✅ Started | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=170361 |
| ✅ Results | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109054476 |
| ✅ Started | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=170362 |
| 👀 Results | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109386831 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/65639 |
| started reviewing | https://github.com/microsoft/TypeScript/sessions/ce71851f-8b52-4519-a0b3-15b5a60f33ce |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| November 23, 2026 17:14 | https://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 |
| Copilot | https://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 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/microsoft/TypeScript/pull/65639#pullrequestreview-6026120574 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Exclude NaN enum literals from narrowing optimization | https://github.com/microsoft/TypeScript/pull/65639#discussion_r4669327429 |
| #65620 | https://github.com/microsoft/TypeScript/issues/65620 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/65639 |
| tsc/internal/checker/flow.go | https://github.com/microsoft/TypeScript/pull/65639/files/a946993d95d438795f65da970253ef34f0d160ce#diff-def119f45cc2dd09932289804836ed5416dd5c9d58baba773b84c9aa22dc1505 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/65639 |
| https://github.com/apps/typescript-automation |
| typescript-automation | https://github.com/apps/typescript-automation |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109054476 |
| Jake Bailey (@jakebailey) | https://github.com/jakebailey |
| You can check the log here | https://typescript.visualstudio.com/TypeScript/_build/results?buildId=170361 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/65639 |
| https://github.com/apps/typescript-automation |
| typescript-automation | https://github.com/apps/typescript-automation |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109160509 |
| Jake Bailey (@jakebailey) | https://github.com/jakebailey |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/65639 |
| https://github.com/apps/typescript-automation |
| typescript-automation | https://github.com/apps/typescript-automation |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109386831 |
| Jake Bailey (@jakebailey) | https://github.com/jakebailey |
| Download Benchmarks | https://typescript.visualstudio.com/TypeScript/_build/results?buildId=170362&view=artifacts |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/65639 |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| November 23, 2026 10:01 | https://github.com/microsoft/TypeScript/pull/65639#commits-pushed-2b31aec |
|
| https://github.com/jakebailey |
| Add a test narrowing by a NaN-valued enum member | https://github.com/microsoft/TypeScript/pull/65639/commits/2b31aec92dce7f3c3c5ba6d19d8fe7cd6b4a856a |
| 2b31aec | https://github.com/microsoft/TypeScript/pull/65639/commits/2b31aec92dce7f3c3c5ba6d19d8fe7cd6b4a856a |
|
| https://github.com/jakebailey |
| Give NaN literal types no literal key when narrowing | https://github.com/microsoft/TypeScript/pull/65639/commits/c611fc66d2c09f1824fd804ba192604b54b3f939 |
| c611fc6 | https://github.com/microsoft/TypeScript/pull/65639/commits/c611fc66d2c09f1824fd804ba192604b54b3f939 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| force-pushed | https://github.com/microsoft/TypeScript/compare/0fce222932b354c901441c0f2b996fb85e694d3c..c611fc66d2c09f1824fd804ba192604b54b3f939 |
| 0fce222 | https://github.com/microsoft/TypeScript/commit/0fce222932b354c901441c0f2b996fb85e694d3c |
| c611fc6 | https://github.com/microsoft/TypeScript/commit/c611fc66d2c09f1824fd804ba192604b54b3f939 |
|
Compare
| https://github.com/microsoft/TypeScript/compare/0fce222932b354c901441c0f2b996fb85e694d3c..c611fc66d2c09f1824fd804ba192604b54b3f939 |
| November 23, 2026 18:01 | https://github.com/microsoft/TypeScript/pull/65639#event-37041005064 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7109560504 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/65639 |
| https://github.com/apps/typescript-automation |
| typescript-automation | https://github.com/apps/typescript-automation |
| Nov 23, 2026 | https://github.com/microsoft/TypeScript/pull/65639#issuecomment-7110492448 |
| Jake Bailey (@jakebailey) | https://github.com/jakebailey |
| Please reload this page | https://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, 2026 | https://github.com/microsoft/TypeScript/pull/65639#event-37065380638 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 page | https://github.com/microsoft/TypeScript/pull/65639 |
|
| https://github.com/jakebailey |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |