René's URL Explorer Experiment


Title: Contextually type unions of differing signatures, rather than giving up by weswigham · Pull Request #17819 · microsoft/TypeScript · GitHub

Open Graph Title: Contextually type unions of differing signatures, rather than giving up by weswigham · Pull Request #17819 · microsoft/TypeScript

X Title: Contextually type unions of differing signatures, rather than giving up by weswigham · Pull Request #17819 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Contextually type unions of differing signatures, rather than giving up by weswigham · Pull Request #17819 · microsoft/TypeScript

Open Graph Description: If a function expression was contextually typed by multiple signatures, and those signatures were not sufficiently similar, we gave up on contextually typing the function, according to our specific...

X Description: If a function expression was contextually typed by multiple signatures, and those signatures were not sufficiently similar, we gave up on contextually typing the function, according to our specific...

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

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:e84e7448-602e-8751-2203-137151f8eb82
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBBDE:3A4875:2220A90:2D753DE:6B018B7E
html-safe-noncef575c99a7202456c484659e69f7cb82419917a2ed37d8a0629ccdb778246127c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkRFOjNBNDg3NToyMjIwQTkwOjJENzUzREU6NkIwMThCN0UiLCJ2aXNpdG9yX2lkIjoiMTc2OTQ3MzQ0NjI0NjQ1MjA5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5a0f358690c55637b116c50f5cecc1dcddacab710861538859569ac06e872fc8
hovercard-subject-tagpull_request:135907743
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/17819/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d3645f4fbdf74e4c5eb3de692b51e99ce81f91205b25b0d3ada3f85560501370/microsoft/TypeScript/pull/17819
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d3645f4fbdf74e4c5eb3de692b51e99ce81f91205b25b0d3ada3f85560501370/microsoft/TypeScript/pull/17819
og:image:altIf a function expression was contextually typed by multiple signatures, and those signatures were not sufficiently similar, we gave up on contextually typing the function, according to our specific...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameweswigham
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/17819#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F17819
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%2F17819
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/17819
Reloadhttps://github.com/microsoft/TypeScript/pull/17819
Reloadhttps://github.com/microsoft/TypeScript/pull/17819
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)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
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:contextually-type-complex-signature-unionshttps://github.com/weswigham/TypeScript/tree/contextually-type-complex-signature-unions
Conversationhttps://github.com/microsoft/TypeScript/pull/17819
Commits6 (6)https://github.com/microsoft/TypeScript/pull/17819/commits
Checkshttps://github.com/microsoft/TypeScript/pull/17819/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/17819/files
Contextually type unions of differing signatures, rather than giving uphttps://github.com/microsoft/TypeScript/pull/17819#top
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:contextually-type-complex-signature-unionshttps://github.com/weswigham/TypeScript/tree/contextually-type-complex-signature-unions
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Aug 15, 2017https://github.com/microsoft/TypeScript/pull/17819#issue-250459871
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/17819
#16019https://github.com/microsoft/TypeScript/issues/16019
#7763https://github.com/microsoft/TypeScript/issues/7763
#11936https://github.com/microsoft/TypeScript/issues/11936
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/17819
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Ron Buckton (rbuckton)https://github.com/rbuckton
August 15, 2017 22:43https://github.com/microsoft/TypeScript/pull/17819#event-1207322531
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-already-signed https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-already-signed
Aug 15, 2017https://github.com/microsoft/TypeScript/pull/17819#event-1207322571
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Sep 8, 2017https://github.com/microsoft/TypeScript/pull/17819#issuecomment-328171729
#17127https://github.com/microsoft/TypeScript/issues/17127
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/17819
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Sep 8, 2017 https://github.com/microsoft/TypeScript/pull/17819#ref-issue-256356481
Design Meeting Notes, 9/8/2017 #18339 https://github.com/microsoft/TypeScript/issues/18339
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
force-pushedhttps://github.com/microsoft/TypeScript/compare/383ac7588029a64c34ee3013837126c0532d8431..c6adbf84a2544378a4e1a17f07338f051ce50540
383ac75https://github.com/microsoft/TypeScript/commit/383ac7588029a64c34ee3013837126c0532d8431
c6adbf8https://github.com/microsoft/TypeScript/commit/c6adbf84a2544378a4e1a17f07338f051ce50540
Compare https://github.com/microsoft/TypeScript/compare/383ac7588029a64c34ee3013837126c0532d8431..c6adbf84a2544378a4e1a17f07338f051ce50540
September 8, 2017 20:47https://github.com/microsoft/TypeScript/pull/17819#event-1241482188
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Sep 11, 2017 https://github.com/microsoft/TypeScript/pull/17819#ref-issue-256679916
Type not suggested when implementing an interface's overloaded method #18384 https://github.com/microsoft/TypeScript/issues/18384
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
force-pushedhttps://github.com/microsoft/TypeScript/compare/c6adbf84a2544378a4e1a17f07338f051ce50540..7167a3d0d080562beec495995c5de0b97cca6972
c6adbf8https://github.com/microsoft/TypeScript/commit/c6adbf84a2544378a4e1a17f07338f051ce50540
7167a3dhttps://github.com/microsoft/TypeScript/commit/7167a3d0d080562beec495995c5de0b97cca6972
Compare https://github.com/microsoft/TypeScript/compare/c6adbf84a2544378a4e1a17f07338f051ce50540..7167a3d0d080562beec495995c5de0b97cca6972
September 20, 2017 20:23https://github.com/microsoft/TypeScript/pull/17819#event-1258191757
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Sep 21, 2017https://github.com/microsoft/TypeScript/pull/17819#issuecomment-331013595
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/17819
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/17819
Wesley Wigham (weswigham)https://github.com/weswigham
September 22, 2017 16:18https://github.com/microsoft/TypeScript/pull/17819#commits-pushed-a462c60
https://github.com/weswigham
Contextually type complex signatures, rather than giving uphttps://github.com/microsoft/TypeScript/pull/17819/commits/a462c6029c3176693b2be5a6d83e312b2e50a11b
a462c60https://github.com/microsoft/TypeScript/pull/17819/commits/a462c6029c3176693b2be5a6d83e312b2e50a11b
https://github.com/weswigham
Always combine nonlike call signatures, regarless of source typehttps://github.com/microsoft/TypeScript/pull/17819/commits/c11d00186a78f15678ac01f78c179c9af36033e0
c11d001https://github.com/microsoft/TypeScript/pull/17819/commits/c11d00186a78f15678ac01f78c179c9af36033e0
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
force-pushedhttps://github.com/microsoft/TypeScript/compare/33cc0c5c7df3eaf1a745fcdeb8f2eafed1575ddd..c11d00186a78f15678ac01f78c179c9af36033e0
33cc0c5https://github.com/microsoft/TypeScript/commit/33cc0c5c7df3eaf1a745fcdeb8f2eafed1575ddd
c11d001https://github.com/microsoft/TypeScript/commit/c11d00186a78f15678ac01f78c179c9af36033e0
Compare https://github.com/microsoft/TypeScript/compare/33cc0c5c7df3eaf1a745fcdeb8f2eafed1575ddd..c11d00186a78f15678ac01f78c179c9af36033e0
September 22, 2017 23:19https://github.com/microsoft/TypeScript/pull/17819#event-1262103773
Wesley Wigham (weswigham)https://github.com/weswigham
September 22, 2017 16:30https://github.com/microsoft/TypeScript/pull/17819#commits-pushed-5afa014
https://github.com/weswigham
More updated type baselines now that type baselines are on errorshttps://github.com/microsoft/TypeScript/pull/17819/commits/5afa014eaf4849024ffc393e5ab2fe2f2ce0a979
5afa014https://github.com/microsoft/TypeScript/pull/17819/commits/5afa014eaf4849024ffc393e5ab2fe2f2ce0a979
https://github.com/weswigham
handle rest parameters more uniformly, actually carry contextual type…https://github.com/microsoft/TypeScript/pull/17819/commits/4757a01f6ab9b50d1057032d3c13251d8236c7ba
4757a01https://github.com/microsoft/TypeScript/pull/17819/commits/4757a01f6ab9b50d1057032d3c13251d8236c7ba
https://github.com/weswigham
pulL MINimum arity from declarationhttps://github.com/microsoft/TypeScript/pull/17819/commits/118f87da9bba64f2c6e59175597853a35ebba45b
118f87dhttps://github.com/microsoft/TypeScript/pull/17819/commits/118f87da9bba64f2c6e59175597853a35ebba45b
https://github.com/msftgits
Microsoft GitHub User (msftgits)https://github.com/msftgits
cla-already-signed https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-already-signed
Sep 26, 2017https://github.com/microsoft/TypeScript/pull/17819#event-1265566313
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 6, 2017 https://github.com/microsoft/TypeScript/pull/17819#ref-pullrequest-270122459
In services, when overload resolution fails, create a union signature #19620 https://github.com/microsoft/TypeScript/pull/19620
https://github.com/weswigham
Merge branch 'master' into contextually-type-complex-signature-unionshttps://github.com/microsoft/TypeScript/pull/17819/commits/f5279fbb06604c14588fa2b58d8b01bd486db231
f5279fbhttps://github.com/microsoft/TypeScript/pull/17819/commits/f5279fbb06604c14588fa2b58d8b01bd486db231
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Dec 23, 2017 https://github.com/microsoft/TypeScript/pull/17819#ref-issue-284310804
better type coercion : instead of cannot invoke an expression whose type lacks a call signature #20877 https://github.com/microsoft/TypeScript/issues/20877
https://github.com/simonbuchan
Simon Buchan (simonbuchan)https://github.com/simonbuchan
Feb 7, 2018https://github.com/microsoft/TypeScript/pull/17819#issuecomment-363636904
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/17819
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jun 13, 2018https://github.com/microsoft/TypeScript/pull/17819#issuecomment-397014957
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/17819
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jun 13, 2018https://github.com/microsoft/TypeScript/pull/17819#event-1679273078
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Jul 2, 2018 https://github.com/microsoft/TypeScript/pull/17819#ref-issue-337303671
Why do we need to manually type unified overload signatures? #25352 https://github.com/microsoft/TypeScript/issues/25352
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Sep 11, 2018 https://github.com/microsoft/TypeScript/pull/17819#ref-issue-336733712
Type inference issue related to usage of conditional type #25299 https://github.com/microsoft/TypeScript/issues/25299
https://github.com/jack-williams
Jack Williams (jack-williams)https://github.com/jack-williams
Oct 20, 2019 https://github.com/microsoft/TypeScript/pull/17819#ref-issue-509661555
Unification of functions on union types #34605 https://github.com/microsoft/TypeScript/issues/34605
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/17819#event-20415480029
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%2F17819
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) https://github.com/DanielRosenwasser
https://github.com/rbuckton
Ron Buckton (rbuckton) https://github.com/rbuckton
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/17819
React: Type inference not working for ref callback https://github.com/microsoft/TypeScript/issues/16019
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/17819
https://github.com/weswigham
https://github.com/simonbuchan
https://github.com/typescript-bot
https://github.com/msftclas
https://github.com/msftgits
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.