René's URL Explorer Experiment


Title: Filter possible contextual return types from unions for async functions and generators by Andarist · Pull Request #51196 · microsoft/TypeScript · GitHub

Open Graph Title: Filter possible contextual return types from unions for async functions and generators by Andarist · Pull Request #51196 · microsoft/TypeScript

X Title: Filter possible contextual return types from unions for async functions and generators by Andarist · Pull Request #51196 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Filter possible contextual return types from unions for async functions and generators by Andarist · Pull Request #51196 · microsoft/TypeScript

Open Graph Description: fixes #51187 fixes #47682 fixes #41428 supersedes #47683 fixes #42439

X Description: fixes #51187 fixes #47682 fixes #41428 supersedes #47683 fixes #42439

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

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:c98f22ea-5f4a-990b-f7d2-6796dd4b9e7c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA84:169F0D:2437AB:31DAE5:6A6160A5
html-safe-nonceb43b8666cff41372ce678fe798b9eee6f78ce4547af93fc35f49c4eb0b7a83e8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTg0OjE2OUYwRDoyNDM3QUI6MzFEQUU1OjZBNjE2MEE1IiwidmlzaXRvcl9pZCI6IjQyOTQ3MTUyNDIyMTcwNjQwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8dd931f4466fee8efa010a31b20f5f80b3ed366cab6fd9a2d8e3b1f8ffcec073
hovercard-subject-tagpull_request:1088948046
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/51196/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4bc8bea218c9ef12ba1f8f45c17693aae0eae15bdd884c7e4457653a2c655957/microsoft/TypeScript/pull/51196
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4bc8bea218c9ef12ba1f8f45c17693aae0eae15bdd884c7e4457653a2c655957/microsoft/TypeScript/pull/51196
og:image:altfixes #51187 fixes #47682 fixes #41428 supersedes #47683 fixes #42439
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAndarist
hostnamegithub.com
expected-hostnamegithub.com
Nonec258d2b06b498220e3b94af28b26bbbf58f4203a6373725f779afcc867afd263
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
release5f67bc431418961e0814f1eb30a4231250e4726d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/51196#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F51196
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%2F51196
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/51196
Reloadhttps://github.com/microsoft/TypeScript/pull/51196
Reloadhttps://github.com/microsoft/TypeScript/pull/51196
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
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
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
Andarist:fix/contextual-return-type-asyncs-and-generatorshttps://github.com/Andarist/TypeScript/tree/fix/contextual-return-type-asyncs-and-generators
Conversationhttps://github.com/microsoft/TypeScript/pull/51196
Commits13 (13)https://github.com/microsoft/TypeScript/pull/51196/commits
Checkshttps://github.com/microsoft/TypeScript/pull/51196/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/51196/files
Filter possible contextual return types from unions for async functions and generatorshttps://github.com/microsoft/TypeScript/pull/51196#top
rbucktonhttps://github.com/rbuckton
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
Andarist:fix/contextual-return-type-asyncs-and-generatorshttps://github.com/Andarist/TypeScript/tree/fix/contextual-return-type-asyncs-and-generators
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Oct 17, 2022https://github.com/microsoft/TypeScript/pull/51196#issue-1411126600
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
#51187https://github.com/microsoft/TypeScript/issues/51187
#47682https://github.com/microsoft/TypeScript/issues/47682
#41428https://github.com/microsoft/TypeScript/issues/41428
#47683https://github.com/microsoft/TypeScript/pull/47683
#42439https://github.com/microsoft/TypeScript/issues/42439
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/Andarist
Filter possible contextual return types from unions for async functio…https://github.com/microsoft/TypeScript/pull/51196/commits/05442d085f2c2f3142f3cea89ea870558f423782
05442d0https://github.com/microsoft/TypeScript/pull/51196/commits/05442d085f2c2f3142f3cea89ea870558f423782
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
rbucktonhttps://github.com/rbuckton
Oct 17, 2022https://github.com/microsoft/TypeScript/pull/51196#event-7599570308
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
Oct 17, 2022https://github.com/microsoft/TypeScript/pull/51196#event-7599570600
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Oct 17, 2022 https://github.com/microsoft/TypeScript/pull/51196#pullrequestreview-1143707300
View reviewed changes https://github.com/microsoft/TypeScript/pull/51196/files/05442d085f2c2f3142f3cea89ea870558f423782
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/51196/files/05442d085f2c2f3142f3cea89ea870558f423782#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Andaristhttps://github.com/Andarist
Oct 17, 2022https://github.com/microsoft/TypeScript/pull/51196#discussion_r996756558
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
my other attempt from a couple of months backhttps://github.com/microsoft/TypeScript/pull/47683/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
#47682https://github.com/microsoft/TypeScript/issues/47682
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Oct 17, 2022 https://github.com/microsoft/TypeScript/pull/51196#pullrequestreview-1143709270
View reviewed changes https://github.com/microsoft/TypeScript/pull/51196/files/05442d085f2c2f3142f3cea89ea870558f423782
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/51196/files/05442d085f2c2f3142f3cea89ea870558f423782#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Andaristhttps://github.com/Andarist
Oct 17, 2022https://github.com/microsoft/TypeScript/pull/51196#discussion_r996757789
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.dev/microsoft/TypeScript/blob/98c19cbbbe83c2ae3c89a4e08317a4b9ccbcb206/src/compiler/checker.ts#L38691https://github.dev/microsoft/TypeScript/blob/98c19cbbbe83c2ae3c89a4e08317a4b9ccbcb206/src/compiler/checker.ts#L38691
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/Andarist
accept new baselineshttps://github.com/microsoft/TypeScript/pull/51196/commits/1d98fe09bfc59c01305d2028b49e0f4752a7e432
1d98fe0https://github.com/microsoft/TypeScript/pull/51196/commits/1d98fe09bfc59c01305d2028b49e0f4752a7e432
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Oct 17, 2022 https://github.com/microsoft/TypeScript/pull/51196#pullrequestreview-1143776456
View reviewed changes https://github.com/microsoft/TypeScript/pull/51196/files/1d98fe09bfc59c01305d2028b49e0f4752a7e432
tests/baselines/reference/contextualTypeOnYield2.typeshttps://github.com/microsoft/TypeScript/pull/51196/files/1d98fe09bfc59c01305d2028b49e0f4752a7e432#diff-dcc7e53a3d0f1319b9fb33f2bde69bb5cf06bb6fe5f5c9f0014c5e68b0e1d8c3
Andaristhttps://github.com/Andarist
Oct 17, 2022https://github.com/microsoft/TypeScript/pull/51196#discussion_r996805800
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/sandersn
sandersnhttps://github.com/sandersn
navya9singhhttps://github.com/navya9singh
rbucktonhttps://github.com/rbuckton
October 27, 2022 23:06https://github.com/microsoft/TypeScript/pull/51196#event-7686465713
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Oct 27, 2022 https://github.com/microsoft/TypeScript/pull/51196#ref-pullrequest-1120427353
Fixed contextual async return type with unions in context that contain a mix of promise and non-promise types #47683 https://github.com/microsoft/TypeScript/pull/47683
Andaristhttps://github.com/Andarist
December 26, 2022 14:01https://github.com/microsoft/TypeScript/pull/51196#commits-pushed-55d4fbb
https://github.com/Andarist
Merge remote-tracking branch 'origin/main' into fix/contextual-return…https://github.com/microsoft/TypeScript/pull/51196/commits/55d4fbba72afa0869c86ee87a55344a145bddbb3
55d4fbbhttps://github.com/microsoft/TypeScript/pull/51196/commits/55d4fbba72afa0869c86ee87a55344a145bddbb3
https://github.com/Andarist
Merge remote-tracking branch 'origin/main' into fix/contextual-return…https://github.com/microsoft/TypeScript/pull/51196/commits/81749787f2d7316802d60ac232d35c0be043a1aa
8174978https://github.com/microsoft/TypeScript/pull/51196/commits/81749787f2d7316802d60ac232d35c0be043a1aa
https://github.com/Andarist
Filter annotated return type within checkYieldExpressionhttps://github.com/microsoft/TypeScript/pull/51196/commits/dfe955a861eec22029dc12bd5fc2f0db881ede12
dfe955ahttps://github.com/microsoft/TypeScript/pull/51196/commits/dfe955a861eec22029dc12bd5fc2f0db881ede12
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Mar 5, 2023 https://github.com/microsoft/TypeScript/pull/51196#ref-issue-737529218
4.1.1-rc strange Type is not assignable to type never with yield & generators #41428 https://github.com/microsoft/TypeScript/issues/41428
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1469545015
@jakebaileyhttps://github.com/jakebailey
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470412551
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470413173
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
@jakebaileyhttps://github.com/jakebailey
dfe955ahttps://github.com/microsoft/TypeScript/commit/dfe955a861eec22029dc12bd5fc2f0db881ede12
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=149522
The results are in!https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470434671
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470413174
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
@jakebaileyhttps://github.com/jakebailey
dfe955ahttps://github.com/microsoft/TypeScript/commit/dfe955a861eec22029dc12bd5fc2f0db881ede12
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=149523
The results are in!https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470596565
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470413175
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
@jakebaileyhttps://github.com/jakebailey
dfe955ahttps://github.com/microsoft/TypeScript/commit/dfe955a861eec22029dc12bd5fc2f0db881ede12
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=149519
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470413176
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
@jakebaileyhttps://github.com/jakebailey
dfe955ahttps://github.com/microsoft/TypeScript/commit/dfe955a861eec22029dc12bd5fc2f0db881ede12
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=149518
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470413177
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
@jakebaileyhttps://github.com/jakebailey
dfe955ahttps://github.com/microsoft/TypeScript/commit/dfe955a861eec22029dc12bd5fc2f0db881ede12
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=149520
The results are in!https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470559602
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470413180
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
@jakebaileyhttps://github.com/jakebailey
dfe955ahttps://github.com/microsoft/TypeScript/commit/dfe955a861eec22029dc12bd5fc2f0db881ede12
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=149521
The results are in!https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470436763
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470416015
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
@jakebaileyhttps://github.com/jakebailey
an installable tgzhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/149519/artifacts?artifactName=tgz&fileId=45CA82B3CD054E8D781CD80B5EB60780F605B752B13B032ECE34A133C4A9682902&fileName=/typescript-5.1.0-insiders.20230315.tgz
for this buildhttps://www.staging-typescript.org/play?ts=5.1.0-pr-51196-8
npmhttps://www.npmjs.com/package/@typescript-deploys/pr-build/v/5.1.0-pr-51196-8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470418431
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470434671
@jakebaileyhttps://github.com/jakebailey
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470436763
@jakebaileyhttps://github.com/jakebailey
Download Benchmarkhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/149521/artifacts?artifactName=benchmark&fileId=6BB5F518B2ED6AF64C9A66583D17E9ADA4B9261DA705E2DE5E5103C7ADA3ED4A01&fileName=linux.benchmark
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470559602
@jakebaileyhttps://github.com/jakebailey
You can check the log herehttps://typescript.visualstudio.com/TypeScript/_build/index?buildId=149520&_a=summary
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470580188
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470580272
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
@jakebaileyhttps://github.com/jakebailey
dfe955ahttps://github.com/microsoft/TypeScript/commit/dfe955a861eec22029dc12bd5fc2f0db881ede12
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=149563
The results are in!https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470813650
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470596565
@jakebaileyhttps://github.com/jakebailey
microsoft/vscodehttps://github.com/microsoft/vscode
extensions/references-view/tsconfig.jsonhttps://github.com/microsoft/vscode/blob/273e74965bf4dcd7d0dbf3a27887df02978360f4/extensions/references-view/tsconfig.json
extensions/references-view/src/tree.ts#L268https://github.com/microsoft/vscode/blob/273e74965bf4dcd7d0dbf3a27887df02978360f4/extensions/references-view/src/tree.ts#L268
src/tsconfig.tsec.jsonhttps://github.com/microsoft/vscode/blob/273e74965bf4dcd7d0dbf3a27887df02978360f4/src/tsconfig.tsec.json
src/vs/platform/environment/test/node/nativeModules.integrationTest.ts#L133https://github.com/microsoft/vscode/blob/273e74965bf4dcd7d0dbf3a27887df02978360f4/src/vs/platform/environment/test/node/nativeModules.integrationTest.ts#L133
src/vs/platform/extensionManagement/node/extensionManagementService.ts#L547https://github.com/microsoft/vscode/blob/273e74965bf4dcd7d0dbf3a27887df02978360f4/src/vs/platform/extensionManagement/node/extensionManagementService.ts#L547
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 15, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1470813650
@jakebaileyhttps://github.com/jakebailey
You can check the log herehttps://typescript.visualstudio.com/TypeScript/_build/index?buildId=149563&_a=summary
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Mar 16, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1471903516
TS playgroundhttps://www.staging-typescript.org/play?ts=5.1.0-pr-51196-8#code/PTAEEYCgBMFMGMA2BDATrUTkGdugBICW2ALgPaoCeAkibALagDekoohAdgA4CuJAXM1ZtQiMvGQlCZDoJYiRPVIUGllHAOYBuYWwC+O-Tr2RInOqgBmyeBgAqAC1gdkAI0SwAPHYB8QtiROHN4ASrDYPIgkPgAUuqAylpGWhIge0AD8gjEAbsiIPLCCdgCUoAC8fnZhEVGgAD6gjs5uHqHhkdEANPEy6ABWCHSZ2eg4MoLIHJRllU01nQ1NQa1e1R1RPsIlxSvuawubhqCBzu210XEKicmp6VmgufmFxbNVhyRLzS77550+PWuHAGQ1gI0eY2wE1AUxmFT8OTIhGg212LV+6wuPmMplgAA8uBRPnAsOhQEkOPApDJQPiEHxYABhMj0ehTaDeCqgHgcADWHDIAHcOLFhPAWWyONBVCR1BpAaAAHTK9CkSbTADaAF1IDtlui2r4dJB8YTUMSECgyRSqdIOKB0BpiBZmaz2VdMBL2TK5QqJGlXDZedllYq0BpsOrKNq3jDpgrAsQAIKoDQPWG6wSI5HGx3O2CoV2S6AxABEAH10JYC85bNgALQ5QiwQWK7AOIVEUgUGh0eilrow7CUSmPQh92PydiWMd99gcUhTWxkGdd8hUWgMMpTtjoEhKe10+AMovu0s5bDiuCKshcZwD9h9xWcXgkRViCTUjiKpSEErHEw9H-UwQFAAAmGBLTQDAsFwUBmQ4Og8U+KcuGUPI6FASseR+DwcRISg71AAARGQMHKR4C1QdNpljbNoB0AiiIAMR5eAuRiRNI3gmQkJIQdoDIwRSI4WA6KRBjICYjAk2HSlWNHCjOIcYhBAQvjYwABVQFliFgAAZQheS8WFsVMcwC2sWwmnCEgFNtGkpxiSxZFAey9Xo45nNc2SR3gdyswkrypBIDwfU4eVyQ4B4AtATzhE48cwtANQIsHFyHl8+S2I8oLIBMSDSRgmRSBOWzils+yv2NCyrBsDBtPEcJsDsdBYAAOTIOB-FALhkUEDgeHoVwC2OFx6CKFLZQi44JvoHsHkG4bRrFL0pUM0SHlSzRjngFTEGgdBXMausWrazq4G1HETQJIlQBJK0MBtL9QA0WASBO5rWtgWAPR0sgPv60AlpG1A-XyRBA3gYNHllH7BE+3Bvo6rqxPhOKJMzDGc1MOhSDLQVOEEwUGzQprcHrOHYAfHA-MeSdhD3A9gZbUBGvoPSYhiVUyEQHJYEHEEqQZhQ3o+nTTuRmJwDAgBmQdOLakWFGnWGlZ6lWHXCXn+ZiYDNb0WlEGwDAdxVoWSBiUTBVAABRVAdNQAmiaFUmJeaym2tLEp9ZVkwFCAgDgMDkCwFlsxEMs+rQGofTxHyW3kOcbA7R65MuC4RBCE-O0AGVxTvaVQFcMhedgKZjl4dxiCcVBqCL7aNCWQa0nwwiMAAWXe5BoEkZAuSnHguF74ZBBLsuK-ynQHug8k2Jey8pi7kge77j0P3yQRY-jxBE7oBc7Sx9m9M8ZfV5XpYeTgFJROgMzIFp0dntTgvKD35O7WwD1LB0+h34PkqW847+n-inGQ2oj6-xPvRPwU5xQLk+PifeYCFyCA1NvEBScAEcEHGfEe-dGhX1gDfMEWptQVHiMgQUyBxxsygSbMMaQPQKB-iyUBn94gKEVCkKIBYuZozmAAQlgM+bASYM5ZxzjIfOt4wQlE4SIRUbIuAxEfuxGIAi-AagFjCahtDF4cDwWvMSWp5EKGDpAIAA
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
Mar 16, 2023 https://github.com/microsoft/TypeScript/pull/51196#pullrequestreview-1344819365
View reviewed changes https://github.com/microsoft/TypeScript/pull/51196/files/dfe955a861eec22029dc12bd5fc2f0db881ede12
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/51196/files/dfe955a861eec22029dc12bd5fc2f0db881ede12#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/51196/files/dfe955a861eec22029dc12bd5fc2f0db881ede12#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
rbucktonhttps://github.com/rbuckton
Mar 16, 2023https://github.com/microsoft/TypeScript/pull/51196#discussion_r1139415528
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#41428https://github.com/microsoft/TypeScript/issues/41428
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
Andaristhttps://github.com/Andarist
Mar 16, 2023https://github.com/microsoft/TypeScript/pull/51196#discussion_r1139435878
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#41428https://github.com/microsoft/TypeScript/issues/41428
"Filter annotated return type within checkYieldExpression"https://github.com/microsoft/TypeScript/pull/51196/commits/dfe955a861eec22029dc12bd5fc2f0db881ede12
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
Andaristhttps://github.com/Andarist
May 25, 2023 22:10https://github.com/microsoft/TypeScript/pull/51196#commits-pushed-61f7fe2
https://github.com/Andarist
Merge remote-tracking branch 'origin/main' into fix/contextual-return…https://github.com/microsoft/TypeScript/pull/51196/commits/61f7fe2396287b6f9b1897559225c9530ac01a7f
61f7fe2https://github.com/microsoft/TypeScript/pull/51196/commits/61f7fe2396287b6f9b1897559225c9530ac01a7f
https://github.com/Andarist
Avoid calling filterType when not neededhttps://github.com/microsoft/TypeScript/pull/51196/commits/517f1d5e00eebc15208fce63b6cf273faa643200
517f1d5https://github.com/microsoft/TypeScript/pull/51196/commits/517f1d5e00eebc15208fce63b6cf273faa643200
https://github.com/Andarist
skip over any and voidhttps://github.com/microsoft/TypeScript/pull/51196/commits/1784567c010a60724ac692f6492f1b0d1c332f03
1784567https://github.com/microsoft/TypeScript/pull/51196/commits/1784567c010a60724ac692f6492f1b0d1c332f03
https://github.com/Andarist
tweak code, add testshttps://github.com/microsoft/TypeScript/pull/51196/commits/3f1ee89cdf2a3728c65a6812729c2c448eb1dd7a
3f1ee89https://github.com/microsoft/TypeScript/pull/51196/commits/3f1ee89cdf2a3728c65a6812729c2c448eb1dd7a
https://github.com/Andarist
Andaristhttps://github.com/Andarist
force-pushedhttps://github.com/microsoft/TypeScript/compare/1b98faca7f94e753ac143163e855d55623f6f927..3f1ee89cdf2a3728c65a6812729c2c448eb1dd7a
1b98fachttps://github.com/microsoft/TypeScript/commit/1b98faca7f94e753ac143163e855d55623f6f927
3f1ee89https://github.com/microsoft/TypeScript/commit/3f1ee89cdf2a3728c65a6812729c2c448eb1dd7a
Compare https://github.com/microsoft/TypeScript/compare/1b98faca7f94e753ac143163e855d55623f6f927..3f1ee89cdf2a3728c65a6812729c2c448eb1dd7a
May 29, 2023 11:55https://github.com/microsoft/TypeScript/pull/51196#event-9368482188
https://github.com/Andarist
Andaristhttps://github.com/Andarist
May 29, 2023 https://github.com/microsoft/TypeScript/pull/51196#pullrequestreview-1449384839
View reviewed changes https://github.com/microsoft/TypeScript/pull/51196/files/3f1ee89cdf2a3728c65a6812729c2c448eb1dd7a
tests/cases/compiler/noImplicitReturnsExclusions.tshttps://github.com/microsoft/TypeScript/pull/51196/files/3f1ee89cdf2a3728c65a6812729c2c448eb1dd7a#diff-f1d7b2a438db187a2346e06b99cde0efdb43c6e444e0ad50ab890497037147cf
Andaristhttps://github.com/Andarist
May 29, 2023https://github.com/microsoft/TypeScript/pull/51196#discussion_r1209248040
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
herehttps://github.com/microsoft/TypeScript/pull/53607/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8R35668-R35670
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/Andarist
Andaristhttps://github.com/Andarist
May 29, 2023 https://github.com/microsoft/TypeScript/pull/51196#pullrequestreview-1449404650
View reviewed changes https://github.com/microsoft/TypeScript/pull/51196/files/3f1ee89cdf2a3728c65a6812729c2c448eb1dd7a
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/51196/files/3f1ee89cdf2a3728c65a6812729c2c448eb1dd7a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Andaristhttps://github.com/Andarist
May 29, 2023https://github.com/microsoft/TypeScript/pull/51196#discussion_r1209259805
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
herehttps://github.com/microsoft/TypeScript/pull/47683/files
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/Andarist
Andaristhttps://github.com/Andarist
rbucktonhttps://github.com/rbuckton
May 29, 2023 12:14https://github.com/microsoft/TypeScript/pull/51196#event-9368660013
Andaristhttps://github.com/Andarist
June 13, 2023 13:13https://github.com/microsoft/TypeScript/pull/51196#commits-pushed-ddbe2a8
https://github.com/Andarist
Merge remote-tracking branch 'origin/main' into fix/contextual-return…https://github.com/microsoft/TypeScript/pull/51196/commits/ddbe2a8336174f89d27cd083a6ed81632e238048
ddbe2a8https://github.com/microsoft/TypeScript/pull/51196/commits/ddbe2a8336174f89d27cd083a6ed81632e238048
https://github.com/Andarist
Merge remote-tracking branch 'origin/main' into fix/contextual-return…https://github.com/microsoft/TypeScript/pull/51196/commits/384c2293016b45a99a94bb0fc0d18d9ff8fabddc
384c229https://github.com/microsoft/TypeScript/pull/51196/commits/384c2293016b45a99a94bb0fc0d18d9ff8fabddc
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Aug 14, 2023https://github.com/microsoft/TypeScript/pull/51196#issuecomment-1677769729
@rbucktonhttps://github.com/rbuckton
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Sep 13, 2023 https://github.com/microsoft/TypeScript/pull/51196#ref-pullrequest-1115213142
Added failing test for strange Promise.reject issue statelyai/xstate#2970 https://github.com/statelyai/xstate/pull/2970
Andaristhttps://github.com/Andarist
October 26, 2023 11:16https://github.com/microsoft/TypeScript/pull/51196#commits-pushed-6314401
https://github.com/Andarist
Merge remote-tracking branch 'origin/main' into fix/contextual-return…https://github.com/microsoft/TypeScript/pull/51196/commits/63144012f7343ffe567607d29cf57231e9d5b732
6314401https://github.com/microsoft/TypeScript/pull/51196/commits/63144012f7343ffe567607d29cf57231e9d5b732
https://github.com/Andarist
Add test cases fromhttps://github.com/microsoft/TypeScript/pull/51196/commits/03c6ee4d262a5733e406251dc64599ef35ad46f6
microsoft#56222https://github.com/microsoft/TypeScript/pull/56222
03c6ee4https://github.com/microsoft/TypeScript/pull/51196/commits/03c6ee4d262a5733e406251dc64599ef35ad46f6
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Oct 26, 2023 https://github.com/microsoft/TypeScript/pull/51196#ref-pullrequest-1962324959
Consider all constituents of contextual return type when resolving type of 'yield' #56222 https://github.com/microsoft/TypeScript/pull/56222
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
Oct 26, 2023 https://github.com/microsoft/TypeScript/pull/51196#pullrequestreview-1700017389
View reviewed changes https://github.com/microsoft/TypeScript/pull/51196/files/03c6ee4d262a5733e406251dc64599ef35ad46f6
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
1c49a8bhttps://github.com/microsoft/TypeScript/commit/1c49a8ba028909e64d3e728c7c607dd3cbd94b5a
Oct 26, 2023https://github.com/microsoft/TypeScript/pull/51196#event-10781963877
https://github.com/Andarist
Andaristhttps://github.com/Andarist
October 26, 2023 16:50https://github.com/microsoft/TypeScript/pull/51196#event-10782461073
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Jul 13, 2024 https://github.com/microsoft/TypeScript/pull/51196#ref-pullrequest-2205579760
fix: support async generators as response resolvers mswjs/msw#2108 https://github.com/mswjs/msw/pull/2108
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Jul 16, 2024 https://github.com/microsoft/TypeScript/pull/51196#ref-pullrequest-2410389266
Not filtering return type using generic in generic async function #59290 https://github.com/microsoft/TypeScript/pull/59290
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Aug 19, 2024 https://github.com/microsoft/TypeScript/pull/51196#ref-pullrequest-2471845789
Fix Callback argument type not inferred for union of interfaces #59309 #59672 https://github.com/microsoft/TypeScript/pull/59672
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 22, 2025https://github.com/microsoft/TypeScript/pull/51196#event-20417615685
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%2F51196
https://github.com/navya9singh
navya9singh https://github.com/navya9singh
https://github.com/rbuckton
rbuckton https://github.com/rbuckton
https://github.com/microsoft/TypeScript/pull/51196/files/03c6ee4d262a5733e406251dc64599ef35ad46f6
https://github.com/rbuckton
rbuckton https://github.com/rbuckton
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
Bug: incorrect contextual typing on yield expression of generator function as discriminate of a union https://github.com/microsoft/TypeScript/issues/51187
Contextual generic return type of an async function includes union members from the context that it shouldn't https://github.com/microsoft/TypeScript/issues/47682
Union of Generator and AsyncGenerator introduces spurious undefined next() value path https://github.com/microsoft/TypeScript/issues/42439
4.1.1-rc strange Type is not assignable to type never with yield & generators https://github.com/microsoft/TypeScript/issues/41428
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/51196
https://github.com/Andarist
https://github.com/jakebailey
https://github.com/typescript-bot
https://github.com/rbuckton
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.