| 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:af4ee2ad-a0d8-e1af-9ceb-854eaeba4003 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D3B4:22F2D4:42CCF9:59F038:6AFBEC52 |
| html-safe-nonce | 22c6436a1c83a99f7376631c94f5e91090313a4479f5b2a4d71dfaf7809eb1c8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0I0OjIyRjJENDo0MkNDRjk6NTlGMDM4OjZBRkJFQzUyIiwidmlzaXRvcl9pZCI6IjExMTE5NDM3MDAxNzE5NzU3NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e5f6f3ecaef4da87712996b1fb5e5ea9aec44fd9b03134e2724cda6188273693 |
| hovercard-subject-tag | pull_request:89902323 |
| 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/11717/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ef84926d081a31505b59b7442cba752591399baa4dc1e717d54035a226ea2490/microsoft/TypeScript/pull/11717 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ef84926d081a31505b59b7442cba752591399baa4dc1e717d54035a226ea2490/microsoft/TypeScript/pull/11717 |
| og:image:alt | With this PR we normalize combinations of intersection and union types based on the distributive property of the & type operator over the | type operator. Specifically, because X & (A | B) ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ahejlsberg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec |
| 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 | df859c48a4c8b4c0009c19bb4e82101aacb4b998 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/11717#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F11717 |
| 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%2F11717 |
| 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/11717 |
| Reload | https://github.com/microsoft/TypeScript/pull/11717 |
| Reload | https://github.com/microsoft/TypeScript/pull/11717 |
| 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 requests335 (335) | 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/pulse |
| https://github.com/microsoft/TypeScript |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| master | https://github.com/microsoft/TypeScript/tree/master |
| normalizeIntersectionTypes | https://github.com/microsoft/TypeScript/tree/normalizeIntersectionTypes |
| Conversation | https://github.com/microsoft/TypeScript/pull/11717 |
| Commits4 (4) | https://github.com/microsoft/TypeScript/pull/11717/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/11717/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/11717/files |
| Normalize union/intersection type combinations | https://github.com/microsoft/TypeScript/pull/11717#top |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| master | https://github.com/microsoft/TypeScript/tree/master |
| normalizeIntersectionTypes | https://github.com/microsoft/TypeScript/tree/normalizeIntersectionTypes |
|
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Oct 18, 2016 | https://github.com/microsoft/TypeScript/pull/11717#issue-183807955 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| #9919 | https://github.com/microsoft/TypeScript/issues/9919 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| October 18, 2016 11:53 | https://github.com/microsoft/TypeScript/pull/11717#commits-pushed-ef5f3c9 |
|
| https://github.com/ahejlsberg |
| Normalize intersection and union types | https://github.com/microsoft/TypeScript/pull/11717/commits/ef5f3c90a457ba50484da59000c39a2797150240 |
| ef5f3c9 | https://github.com/microsoft/TypeScript/pull/11717/commits/ef5f3c90a457ba50484da59000c39a2797150240 |
|
| https://github.com/ahejlsberg |
| Accept new baselines | https://github.com/microsoft/TypeScript/pull/11717/commits/eb7d2cbe9bbc7fd8332488fa084c9293ca29e53a |
| eb7d2cb | https://github.com/microsoft/TypeScript/pull/11717/commits/eb7d2cbe9bbc7fd8332488fa084c9293ca29e53a |
|
| https://github.com/ahejlsberg |
| Simplify logic in checkTypeRelatedTo | https://github.com/microsoft/TypeScript/pull/11717/commits/6a0f72916eb31ded2a011dd9dd4e701145b85d78 |
| 6a0f729 | https://github.com/microsoft/TypeScript/pull/11717/commits/6a0f72916eb31ded2a011dd9dd4e701145b85d78 |
|
| https://github.com/ahejlsberg |
| Add tests | https://github.com/microsoft/TypeScript/pull/11717/commits/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275 |
| bf7f2e2 | https://github.com/microsoft/TypeScript/pull/11717/commits/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275 |
| 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 |
| Oct 18, 2016 | https://github.com/microsoft/TypeScript/pull/11717#event-828190204 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
|
Oct 18, 2016
| https://github.com/microsoft/TypeScript/pull/11717#ref-issue-167238647 |
|
Intersecting discriminated union breaks type narrowing
#9919
| https://github.com/microsoft/TypeScript/issues/9919 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
|
Oct 18, 2016
| https://github.com/microsoft/TypeScript/pull/11717#pullrequestreview-4770181 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/11717/files/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| https://github.com/microsoft/TypeScript/pull/11717#pullrequestreview-4770181 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| tests/baselines/reference/errorMessagesIntersectionTypes04.errors.txt | https://github.com/microsoft/TypeScript/pull/11717/files/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275#diff-291f2005635de677441bdf7999abdf1b136d5ba77e7ed96f2a00f6c29f00c399 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Oct 18, 2016 | https://github.com/microsoft/TypeScript/pull/11717#discussion_r83960941 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Oct 18, 2016 | https://github.com/microsoft/TypeScript/pull/11717#discussion_r83969522 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Oct 19, 2016 | https://github.com/microsoft/TypeScript/pull/11717#discussion_r84098727 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/11717/files/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Oct 18, 2016 | https://github.com/microsoft/TypeScript/pull/11717#discussion_r83963221 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| Oct 18, 2016 | https://github.com/microsoft/TypeScript/pull/11717#discussion_r83970324 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Oct 19, 2016 | https://github.com/microsoft/TypeScript/pull/11717#discussion_r84098538 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| https://github.com/gcnew |
| Marin Marinov (gcnew) | https://github.com/gcnew |
|
Oct 19, 2016
| https://github.com/microsoft/TypeScript/pull/11717#ref-pullrequest-167483546 |
|
Attempt to fix #9919 - Intersecting discriminated union breaks type narrowing
#9939
| https://github.com/microsoft/TypeScript/pull/9939 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
|
Oct 19, 2016
| https://github.com/microsoft/TypeScript/pull/11717#pullrequestreview-4897365 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/11717/files/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/11717/files/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Oct 19, 2016 | https://github.com/microsoft/TypeScript/pull/11717#discussion_r84098538 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| tests/baselines/reference/errorMessagesIntersectionTypes04.errors.txt | https://github.com/microsoft/TypeScript/pull/11717/files/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275#diff-291f2005635de677441bdf7999abdf1b136d5ba77e7ed96f2a00f6c29f00c399 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Oct 19, 2016 | https://github.com/microsoft/TypeScript/pull/11717#discussion_r84098727 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| https://github.com/mhegazy |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
|
Oct 19, 2016
| https://github.com/microsoft/TypeScript/pull/11717#pullrequestreview-4929007 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/11717/files/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| 66857b5 | https://github.com/microsoft/TypeScript/commit/66857b5f8eef4978dc29c7ea1c343cd8b7239fdd |
| Oct 19, 2016 | https://github.com/microsoft/TypeScript/pull/11717#event-829654632 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| October 19, 2016 20:15 | https://github.com/microsoft/TypeScript/pull/11717#event-829654670 |
| https://github.com/yortus |
| Troy Gerwien (yortus) | https://github.com/yortus |
|
Oct 21, 2016
| https://github.com/microsoft/TypeScript/pull/11717#ref-issue-169392810 |
|
User-defined type guards seemingly unused when given an intersection type
#10144
| https://github.com/microsoft/TypeScript/issues/10144 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
|
Nov 2, 2016
| https://github.com/microsoft/TypeScript/pull/11717#ref-issue-186791351 |
|
Discriminated Unions Incompatible with Intersection Types
#11989
| https://github.com/microsoft/TypeScript/issues/11989 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
|
Nov 11, 2016
| https://github.com/microsoft/TypeScript/pull/11717#ref-issue-188824438 |
|
type guard does not narrow intersection over union
#12180
| https://github.com/microsoft/TypeScript/issues/12180 |
| https://github.com/ethanresnick |
| Ethan Resnick (ethanresnick) | https://github.com/ethanresnick |
|
Nov 16, 2016
| https://github.com/microsoft/TypeScript/pull/11717#ref-issue-181490078 |
|
Control Flow Type Inference: Inferred Type Varying by Condition Order
#11426
| https://github.com/microsoft/TypeScript/issues/11426 |
| https://github.com/HerringtonDarkholme |
| Herrington Darkholme (HerringtonDarkholme) | https://github.com/HerringtonDarkholme |
|
Nov 18, 2016
| https://github.com/microsoft/TypeScript/pull/11717#ref-issue-190264547 |
|
Flow Analyze don't recognize combined Intersection and Union Type
#12345
| https://github.com/microsoft/TypeScript/issues/12345 |
| https://github.com/mhegazy |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
|
Nov 18, 2016
| https://github.com/microsoft/TypeScript/pull/11717#ref-issue-190375483 |
|
2.1 Regression: (A | undefined) & B is possibly undefined
#12354
| https://github.com/microsoft/TypeScript/issues/12354 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
|
Nov 28, 2016
| https://github.com/microsoft/TypeScript/pull/11717#ref-issue-192012544 |
|
Compiler hangs on union of enums with a large number of elements
#12535
| https://github.com/microsoft/TypeScript/issues/12535 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
|
May 17, 2017
| https://github.com/microsoft/TypeScript/pull/11717#ref-issue-229482152 |
|
Generic constraint not playing well with new 'object' type.
#15920
| https://github.com/microsoft/TypeScript/issues/15920 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
|
Sep 13, 2017
| https://github.com/microsoft/TypeScript/pull/11717#ref-pullrequest-257393763 |
|
Remove empty intersection types in union types
#18438
| https://github.com/microsoft/TypeScript/pull/18438 |
| https://github.com/microsoft |
| Microsoft (microsoft) | https://github.com/microsoft |
| Jun 19, 2018 | https://github.com/microsoft/TypeScript/pull/11717#event-1689918051 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F11717 |
|
| https://github.com/sandersn |
|
Nathan Shively-Sanders (sandersn)
| https://github.com/sandersn |
|
| https://github.com/microsoft/TypeScript/pull/11717/files/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275 |
|
| https://github.com/mhegazy |
|
Mohamed Hegazy (mhegazy)
| https://github.com/mhegazy |
|
| https://github.com/microsoft/TypeScript/pull/11717/files/bf7f2e2999cf7f36d0f735def0ac7711f3bb2275 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/11717 |
|
| https://github.com/ahejlsberg |
|
| https://github.com/sandersn |
|
| https://github.com/mhegazy |
|
| https://github.com/msftclas |
|
| 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 |