| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1c255935-292a-3d81-19a9-211465d77f43 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E17C:117213:AC8C2B:E6649D:6A531CE8 |
| html-safe-nonce | 6d13d0eb7575d3787c1bb8b2aa1f444e0635f9b0bf96dac86f71f92281dc5e59 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTdDOjExNzIxMzpBQzhDMkI6RTY2NDlEOjZBNTMxQ0U4IiwidmlzaXRvcl9pZCI6IjcwOTU5NjQxMDcxNjIxOTcyMjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2b596a2d4c4b11125d856d13097e382f1d227939348124b981615870acee93e0 |
| hovercard-subject-tag | pull_request:392625086 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/37540/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/0950c6d55af1fe17a2d36ddf29634ad8891ad1de973f6cb536849efa477b429e/microsoft/TypeScript/pull/37540 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0950c6d55af1fe17a2d36ddf29634ad8891ad1de973f6cb536849efa477b429e/microsoft/TypeScript/pull/37540 |
| og:image:alt | This changes inference behavior when inferring a type argument that is awaited:
function f<T>(a: T): Promise<awaited T> {
// will now infer `Promise<T>` instead of `Promise<... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rbuckton |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/TypeScript/pull/37540#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F37540 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F37540 |
|
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 |
| Reload | https://github.com/microsoft/TypeScript/pull/37540 |
| Reload | https://github.com/microsoft/TypeScript/pull/37540 |
| Reload | https://github.com/microsoft/TypeScript/pull/37540 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
|
microsoft
| https://github.com/microsoft |
| TypeScript | https://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
31
| 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 |
| rbuckton | https://github.com/rbuckton |
| master | https://github.com/microsoft/TypeScript/tree/master |
| fix37526 | https://github.com/microsoft/TypeScript/tree/fix37526 |
| Conversation | https://github.com/microsoft/TypeScript/pull/37540 |
| Commits4 (4) | https://github.com/microsoft/TypeScript/pull/37540/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/37540/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/37540/files |
| Fix inference of type arguments when source is 'awaited' | https://github.com/microsoft/TypeScript/pull/37540#top |
| rbuckton | https://github.com/rbuckton |
| master | https://github.com/microsoft/TypeScript/tree/master |
| fix37526 | https://github.com/microsoft/TypeScript/tree/fix37526 |
|
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
| Mar 23, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issue-586501225 |
| #37526 | https://github.com/microsoft/TypeScript/issues/37526 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
|
| https://github.com/rbuckton |
| Fix inference of type arguments when source is 'awaited' | https://github.com/microsoft/TypeScript/pull/37540/commits/cecab849dbe79e3fd525e1f7cd262f749b39980a |
| cecab84 | https://github.com/microsoft/TypeScript/pull/37540/commits/cecab849dbe79e3fd525e1f7cd262f749b39980a |
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
| ahejlsberg | https://github.com/ahejlsberg |
| andrewbranch | https://github.com/andrewbranch |
| weswigham | https://github.com/weswigham |
| March 23, 2020 20:34 | https://github.com/microsoft/TypeScript/pull/37540#event-3157023551 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| rbuckton | https://github.com/rbuckton |
| Mar 23, 2020 | https://github.com/microsoft/TypeScript/pull/37540#event-3157023754 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
|
Author: Team
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22 |
| Mar 23, 2020 | https://github.com/microsoft/TypeScript/pull/37540#event-3157023801 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603387390 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603460323 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603474068 |
| #37526 | https://github.com/microsoft/TypeScript/issues/37526 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603478551 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603486069 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603487564 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| ahejlsberg | https://github.com/ahejlsberg |
| March 24, 2020 15:56 | https://github.com/microsoft/TypeScript/pull/37540#commits-pushed-d37484e |
|
| https://github.com/ahejlsberg |
| Perform structural inference for type parameters that are awaited | https://github.com/microsoft/TypeScript/pull/37540/commits/d37484ee774f6a7f688e792e3ded9a94d4a79fcb |
| d37484e | https://github.com/microsoft/TypeScript/pull/37540/commits/d37484ee774f6a7f688e792e3ded9a94d4a79fcb |
|
| https://github.com/ahejlsberg |
| Accept new baselines | https://github.com/microsoft/TypeScript/pull/37540/commits/70f92ff7751bad982f63cea0a3f8a8f9e32f1359 |
| 70f92ff | https://github.com/microsoft/TypeScript/pull/37540/commits/70f92ff7751bad982f63cea0a3f8a8f9e32f1359 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603548743 |
| @rbuckton | https://github.com/rbuckton |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603550770 |
| @typescript-bot | https://github.com/typescript-bot |
| @typescript-bot | https://github.com/typescript-bot |
| @typescript-bot | https://github.com/typescript-bot |
| @typescript-bot | https://github.com/typescript-bot |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603550797 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| @rbuckton | https://github.com/rbuckton |
| 70f92ff | https://github.com/microsoft/TypeScript/commit/70f92ff7751bad982f63cea0a3f8a8f9e32f1359 |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=69137 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603550798 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| @rbuckton | https://github.com/rbuckton |
| 70f92ff | https://github.com/microsoft/TypeScript/commit/70f92ff7751bad982f63cea0a3f8a8f9e32f1359 |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=69139 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603550799 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| @rbuckton | https://github.com/rbuckton |
| 70f92ff | https://github.com/microsoft/TypeScript/commit/70f92ff7751bad982f63cea0a3f8a8f9e32f1359 |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=69140 |
| The results are in! | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603561715 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603550800 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| @rbuckton | https://github.com/rbuckton |
| 70f92ff | https://github.com/microsoft/TypeScript/commit/70f92ff7751bad982f63cea0a3f8a8f9e32f1359 |
| here | https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=69138 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
|
| https://github.com/ahejlsberg |
| Remove dead code | https://github.com/microsoft/TypeScript/pull/37540/commits/360ac47b56e95d4b0fc40852b8849ee4ca9b3e41 |
| 360ac47 | https://github.com/microsoft/TypeScript/pull/37540/commits/360ac47b56e95d4b0fc40852b8849ee4ca9b3e41 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
|
Mar 24, 2020
| https://github.com/microsoft/TypeScript/pull/37540#ref-pullrequest-587344862 |
|
🤖 User test baselines have changed for fix37526
typescript-bot/TypeScript#9
| https://github.com/typescript-bot/TypeScript/pull/9 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603560869 |
| PR with the baseline diff from master | https://github.com/typescript-bot/TypeScript/pull/9 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| Mar 24, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603561715 |
| @rbuckton | https://github.com/rbuckton |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
|
Mar 25, 2020
| https://github.com/microsoft/TypeScript/pull/37540#ref-issue-587279105 |
|
VS Code codebase compile errors with 3.9.0-dev.20200324
#37556
| https://github.com/microsoft/TypeScript/issues/37556 |
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
| Mar 25, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-603601383 |
| https://github.com/typescript-bot/TypeScript/pull/9/files#diff-0e62d568d28b82cee9e66b2b8fafd290R7 | https://github.com/typescript-bot/TypeScript/pull/9/files#diff-0e62d568d28b82cee9e66b2b8fafd290R7 |
| https://github.com/typescript-bot/TypeScript/pull/9/files#diff-976ec9fe54f7b841cd49ec069e0303a9L135 | https://github.com/typescript-bot/TypeScript/pull/9/files#diff-976ec9fe54f7b841cd49ec069e0303a9L135 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
| Mar 25, 2020 | https://github.com/microsoft/TypeScript/pull/37540#issuecomment-604115684 |
| #37610 | https://github.com/microsoft/TypeScript/pull/37610 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
| Mar 25, 2020 | https://github.com/microsoft/TypeScript/pull/37540#event-3165964559 |
| https://github.com/DanielRosenwasser |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
|
Mar 26, 2020
| https://github.com/microsoft/TypeScript/pull/37540#ref-issue-575020163 |
|
TypeScript 3.9 Iteration Plan
#37198
| https://github.com/microsoft/TypeScript/issues/37198 |
| https://github.com/rbuckton |
| rbuckton | https://github.com/rbuckton |
|
Jul 9, 2024
| https://github.com/microsoft/TypeScript/pull/37540#ref-issue-2385938258 |
|
Nested Promise not automatically unwrapped
#59111
| https://github.com/microsoft/TypeScript/issues/59111 |
| https://github.com/microsoft |
| microsoft | https://github.com/microsoft |
| Oct 21, 2025 | https://github.com/microsoft/TypeScript/pull/37540#event-20416912430 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F37540 |
|
| https://github.com/weswigham |
|
weswigham
| https://github.com/weswigham |
|
| https://github.com/andrewbranch |
|
andrewbranch
| https://github.com/andrewbranch |
|
| https://github.com/ahejlsberg |
|
ahejlsberg
| https://github.com/ahejlsberg |
|
| 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 |
|
Can't infer T from awaited T
| https://github.com/microsoft/TypeScript/issues/37526 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/37540 |
|
| https://github.com/rbuckton |
|
| https://github.com/ahejlsberg |
|
| https://github.com/typescript-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |