René's URL Explorer Experiment


Title: Consider all constituents of contextual return type when resolving type of 'yield' by rbuckton · Pull Request #56222 · microsoft/TypeScript · GitHub

Open Graph Title: Consider all constituents of contextual return type when resolving type of 'yield' by rbuckton · Pull Request #56222 · microsoft/TypeScript

X Title: Consider all constituents of contextual return type when resolving type of 'yield' by rbuckton · Pull Request #56222 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Consider all constituents of contextual return type when resolving type of 'yield' by rbuckton · Pull Request #56222 · microsoft/TypeScript

Open Graph Description: This avoids an early-exit in getIterationTypesOfIterable when the intended use is resolving the iteration types of a contextual return type of a generator function: let f: () => Generator<str...

X Description: This avoids an early-exit in getIterationTypesOfIterable when the intended use is resolving the iteration types of a contextual return type of a generator function: let f: () =&gt; Generator&am...

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

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:41c53bf9-f4f2-53bc-3fb0-c99bd8ddce76
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D08:30B0AA:1EF9C:2DB66:6A61D9F0
html-safe-nonced5f66f42b489827c7bf6feeef6b829aecf865b8be83b76a7dd99c17ede2bc5b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDA4OjMwQjBBQToxRUY5QzoyREI2Njo2QTYxRDlGMCIsInZpc2l0b3JfaWQiOiI2MDI0MjQyODE2MTY3ODI3OTUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaceea4ca4027b84b92efde8f53f8ed63a4c943352bd287f948b4449b05d5fa20bc
hovercard-subject-tagpull_request:1573745505
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/56222/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8764d8afa161719cdf48f821eda2f03f456da0269ac1d1a44ebf6264b06f327e/microsoft/TypeScript/pull/56222
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8764d8afa161719cdf48f821eda2f03f456da0269ac1d1a44ebf6264b06f327e/microsoft/TypeScript/pull/56222
og:image:altThis avoids an early-exit in getIterationTypesOfIterable when the intended use is resolving the iteration types of a contextual return type of a generator function: let f: () => Generator<str...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerbuckton
hostnamegithub.com
expected-hostnamegithub.com
Noneb2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c
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
released1866027ded575df8a15c731dd8b9986c9483ceb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/56222#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F56222
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%2F56222
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/56222
Reloadhttps://github.com/microsoft/TypeScript/pull/56222
Reloadhttps://github.com/microsoft/TypeScript/pull/56222
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56222
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
rbucktonhttps://github.com/rbuckton
mainhttps://github.com/microsoft/TypeScript/tree/main
fix-42439https://github.com/microsoft/TypeScript/tree/fix-42439
Conversationhttps://github.com/microsoft/TypeScript/pull/56222
Commits3 (3)https://github.com/microsoft/TypeScript/pull/56222/commits
Checkshttps://github.com/microsoft/TypeScript/pull/56222/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/56222/files
Consider all constituents of contextual return type when resolving type of 'yield'https://github.com/microsoft/TypeScript/pull/56222#top
rbucktonhttps://github.com/rbuckton
mainhttps://github.com/microsoft/TypeScript/tree/main
fix-42439https://github.com/microsoft/TypeScript/tree/fix-42439
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
Oct 25, 2023https://github.com/microsoft/TypeScript/pull/56222#issue-1962324959
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56222
#42439https://github.com/microsoft/TypeScript/issues/42439
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56222
https://github.com/rbuckton
Consider all constituents of contextual return type when resolving ty…https://github.com/microsoft/TypeScript/pull/56222/commits/f1697dac827c65497130821890273166e91280c4
f1697dahttps://github.com/microsoft/TypeScript/pull/56222/commits/f1697dac827c65497130821890273166e91280c4
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
andrewbranchhttps://github.com/andrewbranch
jakebaileyhttps://github.com/jakebailey
October 25, 2023 22:10https://github.com/microsoft/TypeScript/pull/56222#event-10772818349
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
rbucktonhttps://github.com/rbuckton
Oct 25, 2023https://github.com/microsoft/TypeScript/pull/56222#event-10772818771
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
Oct 25, 2023https://github.com/microsoft/TypeScript/pull/56222#event-10772818867
rbucktonhttps://github.com/rbuckton
October 25, 2023 18:27https://github.com/microsoft/TypeScript/pull/56222#commits-pushed-e3b1f96
https://github.com/rbuckton
Consider all constituents of contextual return type when resolving ty…https://github.com/microsoft/TypeScript/pull/56222/commits/e3b1f963ed7bbd8b303a6f700c96e6b2ec834ab7
e3b1f96https://github.com/microsoft/TypeScript/pull/56222/commits/e3b1f963ed7bbd8b303a6f700c96e6b2ec834ab7
https://github.com/rbuckton
Merge branch 'fix-42439' of github.com:microsoft/TypeScript into fix-…https://github.com/microsoft/TypeScript/pull/56222/commits/dbec26af9191be0bbb8deafce2841fb444e81709
dbec26ahttps://github.com/microsoft/TypeScript/pull/56222/commits/dbec26af9191be0bbb8deafce2841fb444e81709
Andaristhttps://github.com/Andarist
Oct 26, 2023 https://github.com/microsoft/TypeScript/pull/56222#ref-commit-03c6ee4
https://github.com/Andarist
Add test cases fromhttps://github.com/Andarist/TypeScript/commit/03c6ee4d262a5733e406251dc64599ef35ad46f6
microsoft#56222https://github.com/microsoft/TypeScript/pull/56222
03c6ee4https://github.com/Andarist/TypeScript/commit/03c6ee4d262a5733e406251dc64599ef35ad46f6
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Oct 26, 2023https://github.com/microsoft/TypeScript/pull/56222#issuecomment-1780742026
My old PRhttps://github.com/microsoft/TypeScript/pull/51196
pushed out a test casehttps://github.com/microsoft/TypeScript/pull/51196/commits/03c6ee4d262a5733e406251dc64599ef35ad46f6
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56222
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
Oct 26, 2023https://github.com/microsoft/TypeScript/pull/56222#issuecomment-1781349252
My old PRhttps://github.com/microsoft/TypeScript/pull/51196
pushed out a test casehttps://github.com/microsoft/TypeScript/pull/51196/commits/03c6ee4d262a5733e406251dc64599ef35ad46f6
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56222
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
Oct 26, 2023https://github.com/microsoft/TypeScript/pull/56222#issuecomment-1781349899
#51196https://github.com/microsoft/TypeScript/pull/51196
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56222
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
Oct 26, 2023https://github.com/microsoft/TypeScript/pull/56222#event-10781543559
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
October 26, 2023 15:25https://github.com/microsoft/TypeScript/pull/56222#event-10781546130
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 22, 2025https://github.com/microsoft/TypeScript/pull/56222#event-20419613043
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%2F56222
https://github.com/andrewbranch
andrewbranch https://github.com/andrewbranch
https://github.com/jakebailey
jakebailey https://github.com/jakebailey
https://github.com/rbuckton
rbuckton https://github.com/rbuckton
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
Union of Generator and AsyncGenerator introduces spurious undefined next() value path https://github.com/microsoft/TypeScript/issues/42439
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/56222
https://github.com/rbuckton
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.