René's URL Explorer Experiment


Title: Type comparison when conditional type is target by jablko · Pull Request #35741 · microsoft/TypeScript · GitHub

Open Graph Title: Type comparison when conditional type is target by jablko · Pull Request #35741 · microsoft/TypeScript

X Title: Type comparison when conditional type is target by jablko · Pull Request #35741 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Type comparison when conditional type is target by jablko · Pull Request #35741 · microsoft/TypeScript

Open Graph Description: Alternative to #30639 and #27932 (and #27589) that fixes #23132, as well as #26933. The implementation is analogous to #30769. Fixes #23132 Fixes #25413 Fixes #26933 Fixes #29505 Fixes #29662

X Description: Alternative to #30639 and #27932 (and #27589) that fixes #23132, as well as #26933. The implementation is analogous to #30769. Fixes #23132 Fixes #25413 Fixes #26933 Fixes #29505 Fixes #29662

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

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:d0a6d0d9-b9f5-369e-a977-ba23187fb951
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEAC4:361639:1076C28:15FBBF1:6B011775
html-safe-nonce70910ac490d08ccad6e74a0b748affac9b0a2421faed3f8b079163acbf0eba18
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUM0OjM2MTYzOToxMDc2QzI4OjE1RkJCRjE6NkIwMTE3NzUiLCJ2aXNpdG9yX2lkIjoiNDIzNzE4Nzc1OTg5MjE0MTk0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf4a8b2bea26a789d013f8aa03de3c9c1ae079debc6d72322aa25203648c671d6
hovercard-subject-tagpull_request:354370128
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/35741/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ccfa92fc65517bd2e3d0c7568d52895e0e42fae86ec58e4c8b53dacca97f5193/microsoft/TypeScript/pull/35741
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ccfa92fc65517bd2e3d0c7568d52895e0e42fae86ec58e4c8b53dacca97f5193/microsoft/TypeScript/pull/35741
og:image:altAlternative to #30639 and #27932 (and #27589) that fixes #23132, as well as #26933. The implementation is analogous to #30769. Fixes #23132 Fixes #25413 Fixes #26933 Fixes #29505 Fixes #29662
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejablko
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/35741#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F35741
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%2F35741
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/35741
Reloadhttps://github.com/microsoft/TypeScript/pull/35741
Reloadhttps://github.com/microsoft/TypeScript/pull/35741
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests310 (310)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
Jack Bates (jablko)https://github.com/jablko
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
jablko:patch-33https://github.com/jablko/TypeScript/tree/patch-33
Conversationhttps://github.com/microsoft/TypeScript/pull/35741
Commits2 (2)https://github.com/microsoft/TypeScript/pull/35741/commits
Checkshttps://github.com/microsoft/TypeScript/pull/35741/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/35741/files
Type comparison when conditional type is targethttps://github.com/microsoft/TypeScript/pull/35741#top
Jack Bates (jablko)https://github.com/jablko
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
jablko:patch-33https://github.com/jablko/TypeScript/tree/patch-33
https://github.com/jablko
Jack Bates (jablko)https://github.com/jablko
Dec 18, 2019https://github.com/microsoft/TypeScript/pull/35741#issue-539382702
#30639https://github.com/microsoft/TypeScript/pull/30639
#27932https://github.com/microsoft/TypeScript/pull/27932
#27589https://github.com/microsoft/TypeScript/pull/27589
#23132https://github.com/microsoft/TypeScript/issues/23132
#26933https://github.com/microsoft/TypeScript/issues/26933
#30769https://github.com/microsoft/TypeScript/pull/30769
#23132https://github.com/microsoft/TypeScript/issues/23132
#25413https://github.com/microsoft/TypeScript/issues/25413
#26933https://github.com/microsoft/TypeScript/issues/26933
#29505https://github.com/microsoft/TypeScript/issues/29505
#29662https://github.com/microsoft/TypeScript/issues/29662
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35741
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Wesley Wigham (weswigham)https://github.com/weswigham
December 18, 2019 00:28https://github.com/microsoft/TypeScript/pull/35741#event-2891813585
https://github.com/jablko
Jack Bates (jablko)https://github.com/jablko
force-pushedhttps://github.com/microsoft/TypeScript/compare/3a5801c5c49f74e095c29d8bf0d36669200be55a..5944135c148ced907adbcaf43ce456befe577765
3a5801chttps://github.com/microsoft/TypeScript/commit/3a5801c5c49f74e095c29d8bf0d36669200be55a
5944135https://github.com/microsoft/TypeScript/commit/5944135c148ced907adbcaf43ce456befe577765
Compare https://github.com/microsoft/TypeScript/compare/3a5801c5c49f74e095c29d8bf0d36669200be55a..5944135c148ced907adbcaf43ce456befe577765
December 28, 2019 17:09https://github.com/microsoft/TypeScript/pull/35741#event-2912023218
https://github.com/jablko
Jack Bates (jablko)https://github.com/jablko
force-pushedhttps://github.com/microsoft/TypeScript/compare/d1c3ce288447c131ffad608c4cf4b56a031a3abc..f67c607b0834b41a84bd16754cc5f9d02d0e6d55
d1c3ce2https://github.com/microsoft/TypeScript/commit/d1c3ce288447c131ffad608c4cf4b56a031a3abc
f67c607https://github.com/microsoft/TypeScript/commit/f67c607b0834b41a84bd16754cc5f9d02d0e6d55
Compare https://github.com/microsoft/TypeScript/compare/d1c3ce288447c131ffad608c4cf4b56a031a3abc..f67c607b0834b41a84bd16754cc5f9d02d0e6d55
January 25, 2020 20:23https://github.com/microsoft/TypeScript/pull/35741#event-2979517670
https://github.com/jablko
Jack Bates (jablko)https://github.com/jablko
force-pushedhttps://github.com/microsoft/TypeScript/compare/f67c607b0834b41a84bd16754cc5f9d02d0e6d55..4b18a2725f3951541786438465f5aaba0d91c35a
f67c607https://github.com/microsoft/TypeScript/commit/f67c607b0834b41a84bd16754cc5f9d02d0e6d55
4b18a27https://github.com/microsoft/TypeScript/commit/4b18a2725f3951541786438465f5aaba0d91c35a
Compare https://github.com/microsoft/TypeScript/compare/f67c607b0834b41a84bd16754cc5f9d02d0e6d55..4b18a2725f3951541786438465f5aaba0d91c35a
January 29, 2020 01:06https://github.com/microsoft/TypeScript/pull/35741#event-2987848036
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
Feb 1, 2020https://github.com/microsoft/TypeScript/pull/35741#event-2998911936
https://github.com/jablko
Jack Bates (jablko)https://github.com/jablko
force-pushedhttps://github.com/microsoft/TypeScript/compare/e381a4965cfa904daf590b83b3b7d31697fc363d..9fb32ca5f4aa7d6aba18e14a63d687c1023f9782
e381a49https://github.com/microsoft/TypeScript/commit/e381a4965cfa904daf590b83b3b7d31697fc363d
9fb32cahttps://github.com/microsoft/TypeScript/commit/9fb32ca5f4aa7d6aba18e14a63d687c1023f9782
Compare https://github.com/microsoft/TypeScript/compare/e381a4965cfa904daf590b83b3b7d31697fc363d..9fb32ca5f4aa7d6aba18e14a63d687c1023f9782
February 9, 2020 17:19https://github.com/microsoft/TypeScript/pull/35741#event-3020739319
https://github.com/jablko
Jack Bates (jablko)https://github.com/jablko
force-pushedhttps://github.com/microsoft/TypeScript/compare/d7ef23375aa7aa440f326e18d8624ea019ed28bb..fca56ca3f1684c2cdaf8a4c9821956c317631d77
d7ef233https://github.com/microsoft/TypeScript/commit/d7ef23375aa7aa440f326e18d8624ea019ed28bb
fca56cahttps://github.com/microsoft/TypeScript/commit/fca56ca3f1684c2cdaf8a4c9821956c317631d77
Compare https://github.com/microsoft/TypeScript/compare/d7ef23375aa7aa440f326e18d8624ea019ed28bb..fca56ca3f1684c2cdaf8a4c9821956c317631d77
February 13, 2020 15:42https://github.com/microsoft/TypeScript/pull/35741#event-3035391892
https://github.com/jablko
Jack Bates (jablko)https://github.com/jablko
force-pushedhttps://github.com/microsoft/TypeScript/compare/fca56ca3f1684c2cdaf8a4c9821956c317631d77..c8151c73ffb1184598ef16adb2dbfddf50d56c26
fca56cahttps://github.com/microsoft/TypeScript/commit/fca56ca3f1684c2cdaf8a4c9821956c317631d77
c8151c7https://github.com/microsoft/TypeScript/commit/c8151c73ffb1184598ef16adb2dbfddf50d56c26
Compare https://github.com/microsoft/TypeScript/compare/fca56ca3f1684c2cdaf8a4c9821956c317631d77..c8151c73ffb1184598ef16adb2dbfddf50d56c26
February 21, 2020 00:06https://github.com/microsoft/TypeScript/pull/35741#event-3058771645
Jack Bates (jablko)https://github.com/jablko
February 20, 2020 20:40https://github.com/microsoft/TypeScript/pull/35741#commits-pushed-03d97f4
https://github.com/jablko
Type comparison when conditional type is targethttps://github.com/microsoft/TypeScript/pull/35741/commits/03d97f48a470ca44d572108aeac028a033f7c95d
03d97f4https://github.com/microsoft/TypeScript/pull/35741/commits/03d97f48a470ca44d572108aeac028a033f7c95d
https://github.com/jablko
Add testshttps://github.com/microsoft/TypeScript/pull/35741/commits/6f224d04285eff6b53c23e8333369a00ddb57204
6f224d0https://github.com/microsoft/TypeScript/pull/35741/commits/6f224d04285eff6b53c23e8333369a00ddb57204
https://github.com/jablko
Jack Bates (jablko)https://github.com/jablko
force-pushedhttps://github.com/microsoft/TypeScript/compare/c8151c73ffb1184598ef16adb2dbfddf50d56c26..6f224d04285eff6b53c23e8333369a00ddb57204
c8151c7https://github.com/microsoft/TypeScript/commit/c8151c73ffb1184598ef16adb2dbfddf50d56c26
6f224d0https://github.com/microsoft/TypeScript/commit/6f224d04285eff6b53c23e8333369a00ddb57204
Compare https://github.com/microsoft/TypeScript/compare/c8151c73ffb1184598ef16adb2dbfddf50d56c26..6f224d04285eff6b53c23e8333369a00ddb57204
February 22, 2020 22:41https://github.com/microsoft/TypeScript/pull/35741#event-3063024746
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 10, 2020https://github.com/microsoft/TypeScript/pull/35741#event-3112792909
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 10, 2020https://github.com/microsoft/TypeScript/pull/35741#issuecomment-596838524
#37208https://github.com/microsoft/TypeScript/pull/37208
#30706https://github.com/microsoft/TypeScript/issues/30706
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35741
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 16, 2020 https://github.com/microsoft/TypeScript/pull/35741#ref-issue-582576170
Structural Comparison of Circular Tuples #37420 https://github.com/microsoft/TypeScript/issues/37420
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 4, 2022https://github.com/microsoft/TypeScript/pull/35741#issuecomment-1059418009
Jack Bates (@jablko)https://github.com/jablko
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35741
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 1, 2022https://github.com/microsoft/TypeScript/pull/35741#issuecomment-1144222193
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35741
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 1, 2022https://github.com/microsoft/TypeScript/pull/35741#event-6723697368
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/35741#event-20416850280
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%2F35741
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35741
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
Comparing constrained generic types/substitution types to conditional types https://github.com/microsoft/TypeScript/issues/23132
inference problem with constraints involving conditionals and generics https://github.com/microsoft/TypeScript/issues/29662
Regression: Argument of type ... is not assignable to parameter of type ... https://github.com/microsoft/TypeScript/issues/29505
T should be assignable to A extends B ? C : D if it is assignable to both C and D https://github.com/microsoft/TypeScript/issues/26933
Generics: False negative on type constraint validation involving a conditional type https://github.com/microsoft/TypeScript/issues/25413
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/35741
https://github.com/jablko
https://github.com/weswigham
https://github.com/sandersn
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.