René's URL Explorer Experiment


Title: Contextual typing for return expressions of functions with contextual signatures based on instantiated types by Andarist · Pull Request #61185 · microsoft/TypeScript · GitHub

Open Graph Title: Contextual typing for return expressions of functions with contextual signatures based on instantiated types by Andarist · Pull Request #61185 · microsoft/TypeScript

X Title: Contextual typing for return expressions of functions with contextual signatures based on instantiated types by Andarist · Pull Request #61185 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Contextual typing for return expressions of functions with contextual signatures based on instantiated types by Andarist · Pull Request #61185 · microsoft/TypeScript

Open Graph Description: This expands on #30568 (in a way) fixes #61197

X Description: This expands on #30568 (in a way) fixes #61197

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

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:bb0225b1-e04c-6237-3872-790095d2d316
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id912A:14EB6E:500FE1:68DC12:6B019B3B
html-safe-noncec9a1f30951336e6ea5017bdf201b572618a74c8ea8bbf4e9cc2796c3dd1d7ea8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTJBOjE0RUI2RTo1MDBGRTE6NjhEQzEyOjZCMDE5QjNCIiwidmlzaXRvcl9pZCI6IjUyNDA5Mzg0NzkwMDg5Nzk3NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9dd1084394a97d0b59755a645f671ed5ed8332e93074feb7892b3faf1aa405ed
hovercard-subject-tagpull_request:2337910628
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/61185/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/38d95d47fa5dffc2a884b428f09a9da80669d80172d8fd853cfe28df53ff9fed/microsoft/TypeScript/pull/61185
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/38d95d47fa5dffc2a884b428f09a9da80669d80172d8fd853cfe28df53ff9fed/microsoft/TypeScript/pull/61185
og:image:altThis expands on #30568 (in a way) fixes #61197
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAndarist
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/61185#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F61185
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%2F61185
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/61185
Reloadhttps://github.com/microsoft/TypeScript/pull/61185
Reloadhttps://github.com/microsoft/TypeScript/pull/61185
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
Mateusz Burzyński (Andarist)https://github.com/Andarist
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
Andarist:fix/contextual-typing-for-returns-of-contextual-signatureshttps://github.com/Andarist/TypeScript/tree/fix/contextual-typing-for-returns-of-contextual-signatures
Conversationhttps://github.com/microsoft/TypeScript/pull/61185
Commits5 (5)https://github.com/microsoft/TypeScript/pull/61185/commits
Checkshttps://github.com/microsoft/TypeScript/pull/61185/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/61185/files
Contextual typing for return expressions of functions with contextual signatures based on instantiated typeshttps://github.com/microsoft/TypeScript/pull/61185#top
Mateusz Burzyński (Andarist)https://github.com/Andarist
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
Andarist:fix/contextual-typing-for-returns-of-contextual-signatureshttps://github.com/Andarist/TypeScript/tree/fix/contextual-typing-for-returns-of-contextual-signatures
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Feb 15, 2025https://github.com/microsoft/TypeScript/pull/61185#issue-2855707311
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/61185
#30568https://github.com/microsoft/TypeScript/pull/30568
#61197https://github.com/microsoft/TypeScript/issues/61197
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/61185
https://github.com/Andarist
Contextual typing for return expressions of functions with contextual…https://github.com/microsoft/TypeScript/pull/61185/commits/fbdca8412e04056ea8f4e6f5753c73629f1283a0
fbdca84https://github.com/microsoft/TypeScript/pull/61185/commits/fbdca8412e04056ea8f4e6f5753c73629f1283a0
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Feb 15, 2025https://github.com/microsoft/TypeScript/pull/61185#issuecomment-2661094891
Jake Bailey (@jakebailey)https://github.com/jakebailey
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/61185
Mateusz Burzyński (Andarist)https://github.com/Andarist
February 16, 2025 15:45https://github.com/microsoft/TypeScript/pull/61185#commits-pushed-17fa1c4
https://github.com/Andarist
remove redundant check modehttps://github.com/microsoft/TypeScript/pull/61185/commits/17fa1c448f8d6cf9b67c7e475fe9ae85824c87b5
17fa1c4https://github.com/microsoft/TypeScript/pull/61185/commits/17fa1c448f8d6cf9b67c7e475fe9ae85824c87b5
https://github.com/Andarist
revert some of the minor changeshttps://github.com/microsoft/TypeScript/pull/61185/commits/4dce1de717055b4ea76e3d48e8f428b828ebef28
4dce1dehttps://github.com/microsoft/TypeScript/pull/61185/commits/4dce1de717055b4ea76e3d48e8f428b828ebef28
https://github.com/Andarist
add commenthttps://github.com/microsoft/TypeScript/pull/61185/commits/a45dfbb1057c127227c9a7734b114219db9b8caa
a45dfbbhttps://github.com/microsoft/TypeScript/pull/61185/commits/a45dfbb1057c127227c9a7734b114219db9b8caa
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
force-pushedhttps://github.com/microsoft/TypeScript/compare/9055e555760a7b670402bf2707823d9cbbbde665..a45dfbb1057c127227c9a7734b114219db9b8caa
9055e55https://github.com/microsoft/TypeScript/commit/9055e555760a7b670402bf2707823d9cbbbde665
a45dfbbhttps://github.com/microsoft/TypeScript/commit/a45dfbb1057c127227c9a7734b114219db9b8caa
Compare https://github.com/microsoft/TypeScript/compare/9055e555760a7b670402bf2707823d9cbbbde665..a45dfbb1057c127227c9a7734b114219db9b8caa
February 16, 2025 19:49https://github.com/microsoft/TypeScript/pull/61185#event-16325070748
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Feb 16, 2025 https://github.com/microsoft/TypeScript/pull/61185#pullrequestreview-2619709052
View reviewed changes https://github.com/microsoft/TypeScript/pull/61185/files/a45dfbb1057c127227c9a7734b114219db9b8caa
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/61185/files/a45dfbb1057c127227c9a7734b114219db9b8caa#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Mateusz Burzyński (Andarist)https://github.com/Andarist
Feb 16, 2025https://github.com/microsoft/TypeScript/pull/61185#discussion_r1957406131
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#48363https://github.com/microsoft/TypeScript/issues/48363
#59754https://github.com/microsoft/TypeScript/issues/59754
#61196https://github.com/microsoft/TypeScript/issues/61196
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/61185
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Feb 16, 2025 https://github.com/microsoft/TypeScript/pull/61185#ref-pullrequest-2854378551
[@xstate/store] Typestates failing test statelyai/xstate#5203 https://github.com/statelyai/xstate/pull/5203
https://github.com/Andarist
Merge remote-tracking branch 'origin/main' into fix/contextual-typing…https://github.com/microsoft/TypeScript/pull/61185/commits/a03ae46f6bc845be135c3c1f993879b268f7c48b
a03ae46https://github.com/microsoft/TypeScript/pull/61185/commits/a03ae46f6bc845be135c3c1f993879b268f7c48b
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
Dec 5, 2025https://github.com/microsoft/TypeScript/pull/61185#event-21388524712
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Mar 24, 2026https://github.com/microsoft/TypeScript/pull/61185#event-23867825073
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
PR Backloghttps://github.com/orgs/microsoft/projects/1252
Mar 24, 2026https://github.com/microsoft/TypeScript/pull/61185#event-23867842252
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Mar 24, 2026https://github.com/microsoft/TypeScript/pull/61185#issuecomment-4121452213
6.0 outhttps://devblogs.microsoft.com/typescript/announcing-typescript-6-0/
final release vehicle for this codebasehttps://redirect.github.com/microsoft/TypeScript/issues/62963
post-6.0 patch criteriahttps://redirect.github.com/microsoft/TypeScript/issues/62963#issuecomment-4100336368
6.0 iteration issuehttps://redirect.github.com/microsoft/TypeScript/issues/63085
typescript-go repohttps://redirect.github.com/microsoft/TypeScript-go
DOM Generator repohttps://redirect.github.com/microsoft/TypeScript-DOM-lib-generator
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/61185
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F61185
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/61185
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
Instantiable types from return types of contextual signatures don't provide contextual type information for return expressions https://github.com/microsoft/TypeScript/issues/61197
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/61185
https://github.com/Andarist
https://github.com/typescript-bot
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.