René's URL Explorer Experiment


Title: Remove empty intersection types in union types by ahejlsberg · Pull Request #18438 · microsoft/TypeScript · GitHub

Open Graph Title: Remove empty intersection types in union types by ahejlsberg · Pull Request #18438 · microsoft/TypeScript

X Title: Remove empty intersection types in union types by ahejlsberg · Pull Request #18438 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Remove empty intersection types in union types by ahejlsberg · Pull Request #18438 · microsoft/TypeScript

Open Graph Description: An intersection of distinct unit types (such as 'a' & 'b' & 'c') is effectively the same as never because it has en empty set of possible values. We allow such types...

X Description: An intersection of distinct unit types (such as 'a' & 'b' & 'c') is effectively the same as never because it has en empty set of poss...

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

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:f55269a0-a4be-718a-51c8-9dcf30f2bd1a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE84:2FEE24:32F91:44139:6AFBF494
html-safe-noncef46dc947c5c955abf8f66d8f9f0f5ade27e35274e3b13a168db25c517d2ef12c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTg0OjJGRUUyNDozMkY5MTo0NDEzOTo2QUZCRjQ5NCIsInZpc2l0b3JfaWQiOiI2NzgwOTM5OTI1NDM3ODA1NzE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacaaab9304e3638e53489b0227d61b9ddb43e1a1a91501ffad4370b1c38168b9f4
hovercard-subject-tagpull_request:140834995
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/18438/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/10a80c314518f27778dcb732d08be912dbbe1a9c7062d0c685c6f3bf383e00bd/microsoft/TypeScript/pull/18438
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/10a80c314518f27778dcb732d08be912dbbe1a9c7062d0c685c6f3bf383e00bd/microsoft/TypeScript/pull/18438
og:image:altAn intersection of distinct unit types (such as 'a' & 'b' & 'c') is effectively the same as never because it has en empty set of possible values. We allow such types...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
Nonefa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f
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
releaseb3b5633a74535d9c23385512d534c66c8fde1907
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/18438#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F18438
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%2F18438
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/18438
Reloadhttps://github.com/microsoft/TypeScript/pull/18438
Reloadhttps://github.com/microsoft/TypeScript/pull/18438
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests335 (335)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
unionIntersectionUnithttps://github.com/microsoft/TypeScript/tree/unionIntersectionUnit
Conversationhttps://github.com/microsoft/TypeScript/pull/18438
Commits6 (6)https://github.com/microsoft/TypeScript/pull/18438/commits
Checkshttps://github.com/microsoft/TypeScript/pull/18438/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/18438/files
Remove empty intersection types in union typeshttps://github.com/microsoft/TypeScript/pull/18438#top
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
unionIntersectionUnithttps://github.com/microsoft/TypeScript/tree/unionIntersectionUnit
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 13, 2017https://github.com/microsoft/TypeScript/pull/18438#issue-257393763
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18438
#11717https://github.com/microsoft/TypeScript/pull/11717
#18210https://github.com/microsoft/TypeScript/issues/18210
#16386https://github.com/microsoft/TypeScript/issues/16386
#18210https://github.com/microsoft/TypeScript/issues/18210
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18438
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
September 7, 2017 16:02https://github.com/microsoft/TypeScript/pull/18438#commits-pushed-4885560
https://github.com/ahejlsberg
Eliminate intersections of unit types in union typeshttps://github.com/microsoft/TypeScript/pull/18438/commits/4885560cb4a12c41f172c1bfdeedea806400b3e3
4885560https://github.com/microsoft/TypeScript/pull/18438/commits/4885560cb4a12c41f172c1bfdeedea806400b3e3
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/18438/commits/6c2fe29a72e8ad8d9ca178eeafe8d9bfa7a5b6bc
6c2fe29https://github.com/microsoft/TypeScript/pull/18438/commits/6c2fe29a72e8ad8d9ca178eeafe8d9bfa7a5b6bc
https://github.com/ahejlsberg
Add testshttps://github.com/microsoft/TypeScript/pull/18438/commits/78f4cbe53c8696d6f8b23424fcfd666c7d71ba01
78f4cbehttps://github.com/microsoft/TypeScript/pull/18438/commits/78f4cbe53c8696d6f8b23424fcfd666c7d71ba01
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 13, 2017https://github.com/microsoft/TypeScript/pull/18438#event-1247322112
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Sep 13, 2017 https://github.com/microsoft/TypeScript/pull/18438#pullrequestreview-62484966
View reviewed changes https://github.com/microsoft/TypeScript/pull/18438/files/78f4cbe53c8696d6f8b23424fcfd666c7d71ba01
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/18438/files/78f4cbe53c8696d6f8b23424fcfd666c7d71ba01#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Wesley Wigham (weswigham)https://github.com/weswigham
Sep 13, 2017https://github.com/microsoft/TypeScript/pull/18438#discussion_r138659804
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18438
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
September 13, 2017 11:52https://github.com/microsoft/TypeScript/pull/18438#commits-pushed-c64beb9
https://github.com/ahejlsberg
Remove intersections of object and nullable types from union typeshttps://github.com/microsoft/TypeScript/pull/18438/commits/c64beb90dfb513cbc24ed4a4a52b242196f0c2a3
c64beb9https://github.com/microsoft/TypeScript/pull/18438/commits/c64beb90dfb513cbc24ed4a4a52b242196f0c2a3
https://github.com/ahejlsberg
Update testhttps://github.com/microsoft/TypeScript/pull/18438/commits/0ac942f7ab89ccbe42af987425237f3a271b32a3
0ac942fhttps://github.com/microsoft/TypeScript/pull/18438/commits/0ac942f7ab89ccbe42af987425237f3a271b32a3
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/18438/commits/b20d631ba235ae176d12fe95006535b637357e01
b20d631https://github.com/microsoft/TypeScript/pull/18438/commits/b20d631ba235ae176d12fe95006535b637357e01
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 13, 2017https://github.com/microsoft/TypeScript/pull/18438#event-1247875559
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
September 13, 2017 20:23https://github.com/microsoft/TypeScript/pull/18438#event-1248012256
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Sep 14, 2017 https://github.com/microsoft/TypeScript/pull/18438#pullrequestreview-62827781
View reviewed changes https://github.com/microsoft/TypeScript/pull/18438/files/b20d631ba235ae176d12fe95006535b637357e01
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
2077835https://github.com/microsoft/TypeScript/commit/2077835ff77b0659f615d9a4a2d52fdd3bd3a699
Sep 14, 2017https://github.com/microsoft/TypeScript/pull/18438#event-1249703406
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
September 14, 2017 17:44https://github.com/microsoft/TypeScript/pull/18438#event-1249703474
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
Sep 14, 2017https://github.com/microsoft/TypeScript/pull/18438#issuecomment-329609974
#4895https://github.com/microsoft/TypeScript/issues/4895
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18438
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Sep 14, 2017https://github.com/microsoft/TypeScript/pull/18438#issuecomment-329610561
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18438
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Breaking Change https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
Sep 14, 2017https://github.com/microsoft/TypeScript/pull/18438#event-1250036384
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.6https://github.com/microsoft/TypeScript/milestone/53
Sep 14, 2017https://github.com/microsoft/TypeScript/pull/18438#event-1250036447
https://github.com/vsiao
Vincent Siao (vsiao)https://github.com/vsiao
Sep 28, 2017https://github.com/microsoft/TypeScript/pull/18438#issuecomment-332727185
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18438
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 3, 2017 https://github.com/microsoft/TypeScript/pull/18438#ref-issue-262421915
A bug of type system? #18909 https://github.com/microsoft/TypeScript/issues/18909
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Oct 11, 2017 https://github.com/microsoft/TypeScript/pull/18438#ref-issue-264046488
Associativity fails for intersections of unions #19055 https://github.com/microsoft/TypeScript/issues/19055
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Nov 14, 2017https://github.com/microsoft/TypeScript/pull/18438#event-1342019095
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Nov 15, 2017 https://github.com/microsoft/TypeScript/pull/18438#ref-issue-273632670
The behavior of the intersection type of array changed in 2.6.1 #20001 https://github.com/microsoft/TypeScript/issues/20001
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 11, 2018 https://github.com/microsoft/TypeScript/pull/18438#ref-issue-330995533
Broken narrowing of types intersecting with unique symbols #24846 https://github.com/microsoft/TypeScript/issues/24846
https://github.com/ajafff
Klaus Meinhardt (ajafff)https://github.com/ajafff
Jun 13, 2018 https://github.com/microsoft/TypeScript/pull/18438#ref-issue-306028239
no-useless-predicate: detect useless type guard calls fimbullinter/wotan#127 https://github.com/fimbullinter/wotan/issues/127
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 14, 2018https://github.com/microsoft/TypeScript/pull/18438#event-1682128715
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%2F18438
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/18438/files/78f4cbe53c8696d6f8b23424fcfd666c7d71ba01
https://github.com/mhegazy
Mohamed Hegazy (mhegazy) https://github.com/mhegazy
https://github.com/microsoft/TypeScript/pull/18438/files/b20d631ba235ae176d12fe95006535b637357e01
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18438
Breaking Change https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
TypeScript 2.6 https://github.com/microsoft/TypeScript/milestone/53
Reduce empty intersections to never https://github.com/microsoft/TypeScript/issues/18210
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/18438
https://github.com/ahejlsberg
https://github.com/zpdDG4gta8XKpMCd
https://github.com/mhegazy
https://github.com/vsiao
https://github.com/weswigham
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.