René's URL Explorer Experiment


Title: Report error for invalid 'this' type during 'await' by rbuckton · Pull Request #48946 · microsoft/TypeScript · GitHub

Open Graph Title: Report error for invalid 'this' type during 'await' by rbuckton · Pull Request #48946 · microsoft/TypeScript

X Title: Report error for invalid 'this' type during 'await' by rbuckton · Pull Request #48946 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Report error for invalid 'this' type during 'await' by rbuckton · Pull Request #48946 · microsoft/TypeScript

Open Graph Description: Fixes #47711

X Description: Fixes #47711

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

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:7c7ed37f-8299-a33a-9736-a8cfd94ca6fe
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC0A:346934:54FCDB:713D5B:6A504991
html-safe-nonce4737ea6c4ac907f18c66a7f1b4527af969767ee491c74f9a3db79125c160a975
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzBBOjM0NjkzNDo1NEZDREI6NzEzRDVCOjZBNTA0OTkxIiwidmlzaXRvcl9pZCI6IjgzMzM3Njc0NTg5NDg5NTUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7cc09c4ddae5540da79e8ded35b56fbce7403a802f19af4d084ff97eb9b3c6ff
hovercard-subject-tagpull_request:927199156
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/48946/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/010df36b8cb9828fdbd7a671a88525212d874af547588e32d5902a9e6216eb92/microsoft/TypeScript/pull/48946
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/010df36b8cb9828fdbd7a671a88525212d874af547588e32d5902a9e6216eb92/microsoft/TypeScript/pull/48946
og:image:altFixes #47711
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerbuckton
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
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
release5741a45fe07e5f377d0d4c524a92e3056acc51bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/48946#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F48946
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%2F48946
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/48946
Reloadhttps://github.com/microsoft/TypeScript/pull/48946
Reloadhttps://github.com/microsoft/TypeScript/pull/48946
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
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 33 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
fix47711https://github.com/microsoft/TypeScript/tree/fix47711
Conversationhttps://github.com/microsoft/TypeScript/pull/48946
Commits1 (1)https://github.com/microsoft/TypeScript/pull/48946/commits
Checkshttps://github.com/microsoft/TypeScript/pull/48946/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/48946/files
Report error for invalid 'this' type during 'await'https://github.com/microsoft/TypeScript/pull/48946#top
rbucktonhttps://github.com/rbuckton
mainhttps://github.com/microsoft/TypeScript/tree/main
fix47711https://github.com/microsoft/TypeScript/tree/fix47711
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
May 4, 2022https://github.com/microsoft/TypeScript/pull/48946#issue-1224872706
#47711https://github.com/microsoft/TypeScript/issues/47711
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
sandersnhttps://github.com/sandersn
weswighamhttps://github.com/weswigham
May 4, 2022 02:53https://github.com/microsoft/TypeScript/pull/48946#event-6545558888
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
rbucktonhttps://github.com/rbuckton
May 4, 2022https://github.com/microsoft/TypeScript/pull/48946#event-6545559208
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
May 4, 2022https://github.com/microsoft/TypeScript/pull/48946#event-6545559231
https://github.com/rbuckton
Report error for invalid 'this' type during 'await'https://github.com/microsoft/TypeScript/pull/48946/commits/0b6ad037b756ebffcac697c19f54ce5619da3c28
0b6ad03https://github.com/microsoft/TypeScript/pull/48946/commits/0b6ad037b756ebffcac697c19f54ce5619da3c28
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
force-pushedhttps://github.com/microsoft/TypeScript/compare/bce92ab93398270e6c4fb90c32f2939a997afddc..0b6ad037b756ebffcac697c19f54ce5619da3c28
bce92abhttps://github.com/microsoft/TypeScript/commit/bce92ab93398270e6c4fb90c32f2939a997afddc
0b6ad03https://github.com/microsoft/TypeScript/commit/0b6ad037b756ebffcac697c19f54ce5619da3c28
Compare https://github.com/microsoft/TypeScript/compare/bce92ab93398270e6c4fb90c32f2939a997afddc..0b6ad037b756ebffcac697c19f54ce5619da3c28
May 5, 2022 16:57https://github.com/microsoft/TypeScript/pull/48946#event-6558103850
https://github.com/sandersn
sandersnhttps://github.com/sandersn
May 5, 2022 https://github.com/microsoft/TypeScript/pull/48946#pullrequestreview-963739607
View reviewed changes https://github.com/microsoft/TypeScript/pull/48946/files/0b6ad037b756ebffcac697c19f54ce5619da3c28
sandersnhttps://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/48946#pullrequestreview-963739607
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/48946/files/0b6ad037b756ebffcac697c19f54ce5619da3c28#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
sandersnhttps://github.com/sandersn
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#discussion_r866165114
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
rbucktonhttps://github.com/rbuckton
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#discussion_r866297992
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119027172
@DanielRosenwasserhttps://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119036307
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119036331
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
@rbucktonhttps://github.com/rbuckton
0b6ad03https://github.com/microsoft/TypeScript/commit/0b6ad037b756ebffcac697c19f54ce5619da3c28
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=125750
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119036334
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
@rbucktonhttps://github.com/rbuckton
0b6ad03https://github.com/microsoft/TypeScript/commit/0b6ad037b756ebffcac697c19f54ce5619da3c28
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=125749
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119037762
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119037780
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
@DanielRosenwasserhttps://github.com/DanielRosenwasser
0b6ad03https://github.com/microsoft/TypeScript/commit/0b6ad037b756ebffcac697c19f54ce5619da3c28
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=125752
The results are in!https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119054464
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119037781
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
@DanielRosenwasserhttps://github.com/DanielRosenwasser
0b6ad03https://github.com/microsoft/TypeScript/commit/0b6ad037b756ebffcac697c19f54ce5619da3c28
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=125751
The results are in!https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119047730
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119047730
@DanielRosenwasserhttps://github.com/DanielRosenwasser
Download Benchmarkhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/125751/artifacts?artifactName=benchmark&fileId=7538EBC3250C7296DD780C6F7693AC68F070B3C51C008300C577B230D3123D0901&fileName=linux.benchmark
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119054464
@DanielRosenwasserhttps://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
May 5, 2022 https://github.com/microsoft/TypeScript/pull/48946#ref-pullrequest-1227214208
🤖 User test baselines have changed for fix47711 typescript-bot/TypeScript#235 https://github.com/typescript-bot/TypeScript/pull/235
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
May 5, 2022https://github.com/microsoft/TypeScript/pull/48946#issuecomment-1119081561
PR with the baseline diff from masterhttps://github.com/typescript-bot/TypeScript/pull/235
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
e2bd89bhttps://github.com/microsoft/TypeScript/commit/e2bd89b3099088be3a4a4c483195809f04853b62
May 9, 2022https://github.com/microsoft/TypeScript/pull/48946#event-6576249641
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
May 9, 2022 20:58https://github.com/microsoft/TypeScript/pull/48946#event-6576249750
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
May 9, 2022 20:58https://github.com/microsoft/TypeScript/pull/48946#event-6576250157
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
November 7, 2022 17:48https://github.com/microsoft/TypeScript/pull/48946#event-7754974276
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 22, 2025https://github.com/microsoft/TypeScript/pull/48946#event-20417534951
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%2F48946
https://github.com/sandersn
sandersn https://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/48946/files/0b6ad037b756ebffcac697c19f54ce5619da3c28
https://github.com/weswigham
weswigham https://github.com/weswigham
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
await does not respect this types in .then method https://github.com/microsoft/TypeScript/issues/47711
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/48946
https://github.com/rbuckton
https://github.com/typescript-bot
https://github.com/DanielRosenwasser
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.