René's URL Explorer Experiment


Title: Instantiate contextual types for return expressions by ahejlsberg · Pull Request #32386 · microsoft/TypeScript · GitHub

Open Graph Title: Instantiate contextual types for return expressions by ahejlsberg · Pull Request #32386 · microsoft/TypeScript

X Title: Instantiate contextual types for return expressions by ahejlsberg · Pull Request #32386 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Instantiate contextual types for return expressions by ahejlsberg · Pull Request #32386 · microsoft/TypeScript

Open Graph Description: Fixes #32349.

X Description: Fixes #32349.

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

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:c243fe29-a65c-74a8-68ac-ce6bb274fb9e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9DA8:D0E46:1086C20:15D7D47:6B010D88
html-safe-nonce06a61eaf889b23cffcef6c70ed0b3b905a796111cec4a0aaf9c156d5a59f88d6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REE4OkQwRTQ2OjEwODZDMjA6MTVEN0Q0Nzo2QjAxMEQ4OCIsInZpc2l0b3JfaWQiOiIxMjc0MjE2MTgwMzE5NTg3NzIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac55fe71bf45e0fa6f3b94888c47ed942a6663d9a7a4b9154b8fb60b2b1525b197
hovercard-subject-tagpull_request:297277168
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/32386/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/255aa68c15c0da6ebf0a2bf357a6506dfdc266d4bb2af2017c8a42e17f2161df/microsoft/TypeScript/pull/32386
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/255aa68c15c0da6ebf0a2bf357a6506dfdc266d4bb2af2017c8a42e17f2161df/microsoft/TypeScript/pull/32386
og:image:altFixes #32349.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/32386#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F32386
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%2F32386
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/32386
Reloadhttps://github.com/microsoft/TypeScript/pull/32386
Reloadhttps://github.com/microsoft/TypeScript/pull/32386
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
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
fix32349https://github.com/microsoft/TypeScript/tree/fix32349
Conversationhttps://github.com/microsoft/TypeScript/pull/32386
Commits4 (4)https://github.com/microsoft/TypeScript/pull/32386/commits
Checkshttps://github.com/microsoft/TypeScript/pull/32386/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/32386/files
Instantiate contextual types for return expressionshttps://github.com/microsoft/TypeScript/pull/32386#top
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
fix32349https://github.com/microsoft/TypeScript/tree/fix32349
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jul 13, 2019https://github.com/microsoft/TypeScript/pull/32386#issue-467667453
#32349https://github.com/microsoft/TypeScript/issues/32349
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
July 12, 2019 11:11https://github.com/microsoft/TypeScript/pull/32386#commits-pushed-e0599fd
https://github.com/ahejlsberg
Instantiate contextual type for return type in getReturnTypeFromBodyhttps://github.com/microsoft/TypeScript/pull/32386/commits/e0599fd19cc690aca5fb74e18dbee5eed1b446a0
e0599fdhttps://github.com/microsoft/TypeScript/pull/32386/commits/e0599fd19cc690aca5fb74e18dbee5eed1b446a0
https://github.com/ahejlsberg
Add regression testshttps://github.com/microsoft/TypeScript/pull/32386/commits/044d70fc243e7f68214796611d8b93c0e31dec65
044d70fhttps://github.com/microsoft/TypeScript/pull/32386/commits/044d70fc243e7f68214796611d8b93c0e31dec65
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/32386/commits/6f637b0870f27fcae5cfdc5ee97e212017e1ecde
6f637b0https://github.com/microsoft/TypeScript/pull/32386/commits/6f637b0870f27fcae5cfdc5ee97e212017e1ecde
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jul 13, 2019https://github.com/microsoft/TypeScript/pull/32386#issuecomment-511086316
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jul 13, 2019https://github.com/microsoft/TypeScript/pull/32386#issuecomment-511086322
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
6f637b0https://github.com/microsoft/TypeScript/commit/6f637b0870f27fcae5cfdc5ee97e212017e1ecde
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=36351
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jul 13, 2019https://github.com/microsoft/TypeScript/pull/32386#issuecomment-511086323
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
6f637b0https://github.com/microsoft/TypeScript/commit/6f637b0870f27fcae5cfdc5ee97e212017e1ecde
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=36352
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
https://github.com/fregante
fregantehttps://github.com/fregante
Jul 13, 2019 https://github.com/microsoft/TypeScript/pull/32386#ref-issue-439607433
Drop bypass-checks feature refined-github/refined-github#2003 https://github.com/refined-github/refined-github/issues/2003
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jul 14, 2019https://github.com/microsoft/TypeScript/pull/32386#issuecomment-511167108
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jul 16, 2019 https://github.com/microsoft/TypeScript/pull/32386#ref-issue-468909290
Suboptimal inference to unions like T | Promise #32434 https://github.com/microsoft/TypeScript/issues/32434
https://github.com/ahejlsberg
Merge branch 'master' into fix32349https://github.com/microsoft/TypeScript/pull/32386/commits/742cabaac423e4a9577e8d521373834e489bc6d1
742cabahttps://github.com/microsoft/TypeScript/pull/32386/commits/742cabaac423e4a9577e8d521373834e489bc6d1
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jul 24, 2019https://github.com/microsoft/TypeScript/pull/32386#issuecomment-514432180
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jul 24, 2019https://github.com/microsoft/TypeScript/pull/32386#issuecomment-514432571
#32460https://github.com/microsoft/TypeScript/pull/32460
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
34dd4b8https://github.com/microsoft/TypeScript/commit/34dd4b8da52b91e178b30d8e4f097f914b9ff472
Jul 24, 2019https://github.com/microsoft/TypeScript/pull/32386#event-2504772054
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
July 24, 2019 00:33https://github.com/microsoft/TypeScript/pull/32386#event-2504772179
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Jul 26, 2019 https://github.com/microsoft/TypeScript/pull/32386#ref-issue-473218976
wrong type infer in 3.6.0-dev.20190725 #32572 https://github.com/microsoft/TypeScript/issues/32572
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/32386#event-20416723943
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/32386#event-20416724396
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%2F32386
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
Inconsistent type inference for cases of one and multiple values https://github.com/microsoft/TypeScript/issues/32349
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/32386
https://github.com/ahejlsberg
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.