René's URL Explorer Experiment


Title: Make the assignability rule for conditional types require the check types and distributivity to be identical. by mattmccutchen · Pull Request #27697 · microsoft/TypeScript · GitHub

Open Graph Title: Make the assignability rule for conditional types require the check types and distributivity to be identical. by mattmccutchen · Pull Request #27697 · microsoft/TypeScript

X Title: Make the assignability rule for conditional types require the check types and distributivity to be identical. by mattmccutchen · Pull Request #27697 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Make the assignability rule for conditional types require the check types and distributivity to be identical. by mattmccutchen · Pull Request #27697 · microsoft/TypeScript

Open Graph Description: Fixes #27118.

X Description: Fixes #27118.

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

X: @github

direct link

Domain: github.com

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:e543ee65-93fb-c167-0209-69e5536be2ff
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE32:22E2E4:84213E:BD6C85:6A631918
html-safe-nonce2978ce4b3c11ce0731a3367140d5856256fdcc35da7bb676fa9013b22f67657c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTMyOjIyRTJFNDo4NDIxM0U6QkQ2Qzg1OjZBNjMxOTE4IiwidmlzaXRvcl9pZCI6IjE3MDkyNTExNzE0NTMxODAxODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0c3401b30cbb26c3af03be15d31a2f407752791cf1c4caf04b2bef2b2c917725
hovercard-subject-tagpull_request:221964359
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/27697/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a40845750f2ca7560d41ec03ee8e6f133393a6ec54a77425e522576ed3d1154a/microsoft/TypeScript/pull/27697
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a40845750f2ca7560d41ec03ee8e6f133393a6ec54a77425e522576ed3d1154a/microsoft/TypeScript/pull/27697
og:image:altFixes #27118.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemattmccutchen
hostnamegithub.com
expected-hostnamegithub.com
None1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6
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
release6a93e25585f487ddff9e3996c06d5b869d6e1828
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/27697#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F27697
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F27697
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
Reloadhttps://github.com/microsoft/TypeScript/pull/27697
Reloadhttps://github.com/microsoft/TypeScript/pull/27697
Reloadhttps://github.com/microsoft/TypeScript/pull/27697
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.6k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 110k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k+ https://github.com/microsoft/TypeScript/issues
Pull requests 21 https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality 0 https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Code https://github.com/microsoft/TypeScript
Issues https://github.com/microsoft/TypeScript/issues
Pull requests https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
RyanCavanaughhttps://github.com/RyanCavanaugh
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
mattmccutchen:issue-27118https://github.com/mattmccutchen/TypeScript/tree/issue-27118
Conversationhttps://github.com/microsoft/TypeScript/pull/27697
Commits1 (1)https://github.com/microsoft/TypeScript/pull/27697/commits
Checkshttps://github.com/microsoft/TypeScript/pull/27697/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/27697/files
Make the assignability rule for conditional types require the check types and distributivity to be identical.https://github.com/microsoft/TypeScript/pull/27697#top
RyanCavanaughhttps://github.com/RyanCavanaugh
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
mattmccutchen:issue-27118https://github.com/mattmccutchen/TypeScript/tree/issue-27118
https://github.com/mattmccutchen
mattmccutchenhttps://github.com/mattmccutchen
Oct 10, 2018https://github.com/microsoft/TypeScript/pull/27697#issue-368894973
#27118https://github.com/microsoft/TypeScript/issues/27118
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/mattmccutchen
mattmccutchenhttps://github.com/mattmccutchen
Oct 10, 2018 https://github.com/microsoft/TypeScript/pull/27697#ref-issue-360507692
Assignability rule for conditional types needs to require check types and distributivity to be identical #27118 https://github.com/microsoft/TypeScript/issues/27118
https://github.com/mattmccutchen
mattmccutchenhttps://github.com/mattmccutchen
Oct 10, 2018https://github.com/microsoft/TypeScript/pull/27697#issuecomment-428770591
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Oct 17, 2018https://github.com/microsoft/TypeScript/pull/27697#issuecomment-430447811
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Oct 17, 2018https://github.com/microsoft/TypeScript/pull/27697#issuecomment-430447820
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
@weswighamhttps://github.com/weswigham
bc9b6d5https://github.com/microsoft/TypeScript/commit/bc9b6d54c9a28b239b08ef4c5e55065e26a48ef3
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=14345
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 24, 2019https://github.com/microsoft/TypeScript/pull/27697#issuecomment-457384691
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jan 24, 2019https://github.com/microsoft/TypeScript/pull/27697#issuecomment-457384698
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
@RyanCavanaughhttps://github.com/RyanCavanaugh
bc9b6d5https://github.com/microsoft/TypeScript/commit/bc9b6d54c9a28b239b08ef4c5e55065e26a48ef3
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=21020
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 24, 2019https://github.com/microsoft/TypeScript/pull/27697#event-2095829188
https://github.com/mattmccutchen
Make the assignability rule for conditional types require the checkhttps://github.com/microsoft/TypeScript/pull/27697/commits/1aca1dd036928ce56173bb93e4478af6b28b464a
1aca1ddhttps://github.com/microsoft/TypeScript/pull/27697/commits/1aca1dd036928ce56173bb93e4478af6b28b464a
microsoft#27118https://github.com/microsoft/TypeScript/issues/27118
https://github.com/mattmccutchen
mattmccutchenhttps://github.com/mattmccutchen
force-pushedhttps://github.com/microsoft/TypeScript/compare/bc9b6d54c9a28b239b08ef4c5e55065e26a48ef3..1aca1dd036928ce56173bb93e4478af6b28b464a
bc9b6d5https://github.com/microsoft/TypeScript/commit/bc9b6d54c9a28b239b08ef4c5e55065e26a48ef3
1aca1ddhttps://github.com/microsoft/TypeScript/commit/1aca1dd036928ce56173bb93e4478af6b28b464a
Compare https://github.com/microsoft/TypeScript/compare/bc9b6d54c9a28b239b08ef4c5e55065e26a48ef3..1aca1dd036928ce56173bb93e4478af6b28b464a
February 9, 2019 22:34https://github.com/microsoft/TypeScript/pull/27697#event-2128948958
https://github.com/mattmccutchen
mattmccutchenhttps://github.com/mattmccutchen
Feb 9, 2019https://github.com/microsoft/TypeScript/pull/27697#issuecomment-462087145
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Feb 10, 2019https://github.com/microsoft/TypeScript/pull/27697#issuecomment-462094844
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 10, 2019https://github.com/microsoft/TypeScript/pull/27697#issuecomment-462094847
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
@RyanCavanaughhttps://github.com/RyanCavanaugh
1aca1ddhttps://github.com/microsoft/TypeScript/commit/1aca1dd036928ce56173bb93e4478af6b28b464a
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=22576
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Feb 11, 2019https://github.com/microsoft/TypeScript/pull/27697#issuecomment-462213367
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
2dfb620https://github.com/microsoft/TypeScript/commit/2dfb6202ed03e04ba1dcc330eea219c50fe48c66
Feb 11, 2019https://github.com/microsoft/TypeScript/pull/27697#event-2129634115
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Feb 13, 2019 https://github.com/microsoft/TypeScript/pull/27697#ref-pullrequest-409560914
Use built local on CI and not LKG #29886 https://github.com/microsoft/TypeScript/pull/29886
https://github.com/jack-williams
jack-williamshttps://github.com/jack-williams
Feb 27, 2019 https://github.com/microsoft/TypeScript/pull/27697#ref-issue-377298291
Mapped Types should distribute over union types #28339 https://github.com/microsoft/TypeScript/issues/28339
sandersnhttps://github.com/sandersn
Feb 27, 2019 https://github.com/microsoft/TypeScript/pull/27697#ref-commit-aedffe0
https://github.com/sandersn
Revert "Merge pull requesthttps://github.com/microsoft/TypeScript/commit/aedffe049d74ba1893d92dbec41b0f389609c364
#27697https://github.com/microsoft/TypeScript/pull/27697
from mattmccutchen/issue-27118"https://github.com/microsoft/TypeScript/commit/aedffe049d74ba1893d92dbec41b0f389609c364
aedffe0https://github.com/microsoft/TypeScript/commit/aedffe049d74ba1893d92dbec41b0f389609c364
2dfb620https://github.com/microsoft/TypeScript/commit/2dfb6202ed03e04ba1dcc330eea219c50fe48c66
bbf559bhttps://github.com/microsoft/TypeScript/commit/bbf559b9c7fd21b984d7cb538140c74e3d6a6b45
sandersnhttps://github.com/sandersn
Feb 27, 2019 https://github.com/microsoft/TypeScript/pull/27697#ref-commit-0d93eb9
https://github.com/sandersn
Merge pull requesthttps://github.com/microsoft/TypeScript/commit/0d93eb92181fa4f68e5003d8fd3e895695698b6a
#30133https://github.com/microsoft/TypeScript/pull/30133
from Microsoft/revert-conditional-type-inva…https://github.com/microsoft/TypeScript/commit/0d93eb92181fa4f68e5003d8fd3e895695698b6a
0d93eb9https://github.com/microsoft/TypeScript/commit/0d93eb92181fa4f68e5003d8fd3e895695698b6a
#27697https://github.com/microsoft/TypeScript/pull/27697
https://github.com/jack-williams
jack-williamshttps://github.com/jack-williams
Feb 28, 2019 https://github.com/microsoft/TypeScript/pull/27697#ref-pullrequest-415549997
Add regressions for conditional types that affect parameter variance #30146 https://github.com/microsoft/TypeScript/pull/30146
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/27697#event-20415820795
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%2F27697
https://github.com/RyanCavanaugh
RyanCavanaugh https://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/27697
https://github.com/mattmccutchen
https://github.com/weswigham
https://github.com/typescript-bot
https://github.com/RyanCavanaugh
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.