René's URL Explorer Experiment


Title: Add test for type inference of Promise/PromiseLike union bug by jakebailey · Pull Request #58213 · microsoft/TypeScript · GitHub

Open Graph Title: Add test for type inference of Promise/PromiseLike union bug by jakebailey · Pull Request #58213 · microsoft/TypeScript

X Title: Add test for type inference of Promise/PromiseLike union bug by jakebailey · Pull Request #58213 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Add test for type inference of Promise/PromiseLike union bug by jakebailey · Pull Request #58213 · microsoft/TypeScript

Open Graph Description: Closes #48195, which was fixed by #33074.

X Description: Closes #48195, which was fixed by #33074.

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

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:117ce96e-22b9-211f-8a80-8b5b820a1d3f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id90D0:141FAF:38517D0:4D7F1CF:6A4F276E
html-safe-nonce3bffd94ebfbd1d7a4a68c9832df4745986c5b293f62a17decf52833b7c273477
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEQwOjE0MUZBRjozODUxN0QwOjREN0YxQ0Y6NkE0RjI3NkUiLCJ2aXNpdG9yX2lkIjoiNDEwNzk4NTIxMzY1MjQxMjI3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac90d03df2d96db0d1311f18267bec76b3cfd87836ca554f1988af85f5f76780a8
hovercard-subject-tagpull_request:1825969287
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/58213/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7a67c6e1309b968de88c4876685cbefc372916129176db7f360f6acbd0fc82c5/microsoft/TypeScript/pull/58213
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7a67c6e1309b968de88c4876685cbefc372916129176db7f360f6acbd0fc82c5/microsoft/TypeScript/pull/58213
og:image:altCloses #48195, which was fixed by #33074.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejakebailey
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/58213#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F58213
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
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%2F58213
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/58213
Reloadhttps://github.com/microsoft/TypeScript/pull/58213
Reloadhttps://github.com/microsoft/TypeScript/pull/58213
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58213
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.5k 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 32 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
jakebaileyhttps://github.com/jakebailey
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
jakebailey:fix-48195https://github.com/jakebailey/TypeScript/tree/fix-48195
Conversationhttps://github.com/microsoft/TypeScript/pull/58213
Commits4 (4)https://github.com/microsoft/TypeScript/pull/58213/commits
Checkshttps://github.com/microsoft/TypeScript/pull/58213/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/58213/files
Add test for type inference of Promise/PromiseLike union bughttps://github.com/microsoft/TypeScript/pull/58213#top
jakebaileyhttps://github.com/jakebailey
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
jakebailey:fix-48195https://github.com/jakebailey/TypeScript/tree/fix-48195
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Apr 16, 2024https://github.com/microsoft/TypeScript/pull/58213#issue-2246653534
#48195https://github.com/microsoft/TypeScript/issues/48195
#33074https://github.com/microsoft/TypeScript/pull/33074
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58213
jakebaileyhttps://github.com/jakebailey
April 16, 2024 11:28https://github.com/microsoft/TypeScript/pull/58213#commits-pushed-e4146f0
https://github.com/jakebailey
Add test for type inference of Promise/PromiseLike union bughttps://github.com/microsoft/TypeScript/pull/58213/commits/e4146f08098f78c3e9749fc7dda7585e2d7318df
e4146f0https://github.com/microsoft/TypeScript/pull/58213/commits/e4146f08098f78c3e9749fc7dda7585e2d7318df
https://github.com/jakebailey
Fix testhttps://github.com/microsoft/TypeScript/pull/58213/commits/6c7ff150be42e7132a0d6245f885dde96373373d
6c7ff15https://github.com/microsoft/TypeScript/pull/58213/commits/6c7ff150be42e7132a0d6245f885dde96373373d
https://github.com/jakebailey
Actually fixhttps://github.com/microsoft/TypeScript/pull/58213/commits/5f3e0eb53ad7ac7ebc7f840f0b9d49adee04735f
5f3e0ebhttps://github.com/microsoft/TypeScript/pull/58213/commits/5f3e0eb53ad7ac7ebc7f840f0b9d49adee04735f
https://github.com/jakebailey
Merge branch 'main' into fix-48195https://github.com/microsoft/TypeScript/pull/58213/commits/7bcb1aef918d4b2d939775e626b3b3ab2fd2de07
7bcb1aehttps://github.com/microsoft/TypeScript/pull/58213/commits/7bcb1aef918d4b2d939775e626b3b3ab2fd2de07
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Apr 19, 2024 https://github.com/microsoft/TypeScript/pull/58213#pullrequestreview-2012395634
View reviewed changes https://github.com/microsoft/TypeScript/pull/58213/files/7bcb1aef918d4b2d939775e626b3b3ab2fd2de07
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
21f5f39https://github.com/microsoft/TypeScript/commit/21f5f394b9c10bdee00ec36c7b2aebc15d45a8eb
Apr 19, 2024https://github.com/microsoft/TypeScript/pull/58213#event-12544835475
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
June 17, 2024 21:09https://github.com/microsoft/TypeScript/pull/58213#event-13191703722
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 16, 2025https://github.com/microsoft/TypeScript/pull/58213#event-20323076920
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%2F58213
https://github.com/DanielRosenwasser
DanielRosenwasser https://github.com/DanielRosenwasser
https://github.com/microsoft/TypeScript/pull/58213/files/7bcb1aef918d4b2d939775e626b3b3ab2fd2de07
Promise.resolve fails to infer the correct type when the argument is a union type like T | Promise | PromiseLike https://github.com/microsoft/TypeScript/issues/48195
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58213
https://github.com/jakebailey
https://github.com/DanielRosenwasser
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.