| 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:0026853b-5161-9f50-6060-d5745061585a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AAEA:115C7:25903EE:33C7FF0:6A60A920 |
| html-safe-nonce | 4b7ade7579988f67f1dd7158b6bc149e9850ca4b9934e02af7999a01f4f6371e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUVBOjExNUM3OjI1OTAzRUU6MzNDN0ZGMDo2QTYwQTkyMCIsInZpc2l0b3JfaWQiOiI2NzUxMzg3OTY0ODYwODM2MTI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2054c6b5e4183a2c30bfe0342c7381beae402595ae5e2313d9544bf10d9ae4a4 |
| hovercard-subject-tag | pull_request:1970887080 |
| 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/59290/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/17a0b03dfa880a3789a73ada858d1a93c303fa3755c01c787884ab3b30ae87ba/microsoft/TypeScript/pull/59290 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/17a0b03dfa880a3789a73ada858d1a93c303fa3755c01c787884ab3b30ae87ba/microsoft/TypeScript/pull/59290 |
| og:image:alt | Please verify that:
There is an associated issue in the Backlog milestone (required)
Code is up-to-date with the main branch
You've successfully run hereby runtests locally
There are new o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | syi0808 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66af895cfa11168648b21cb54f2bdc3b0587503cc95c3040344b93f2cd4f9e08 |
| 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 | b2efb079bef4751afb19e51eb8a7bfb7a46dd1a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/TypeScript/pull/59290#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F59290 |
| 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 |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| 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%2F59290 |
|
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/59290 |
| Reload | https://github.com/microsoft/TypeScript/pull/59290 |
| Reload | https://github.com/microsoft/TypeScript/pull/59290 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
|
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
30
| 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 |
| syi0808 | https://github.com/syi0808 |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| syi0808:fix/wrong-return-type-async-generic | https://github.com/syi0808/TypeScript/tree/fix/wrong-return-type-async-generic |
| Conversation | https://github.com/microsoft/TypeScript/pull/59290 |
| Commits3 (3) | https://github.com/microsoft/TypeScript/pull/59290/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/59290/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/59290/files |
| Not filtering return type using generic in generic async function | https://github.com/microsoft/TypeScript/pull/59290#top |
| syi0808 | https://github.com/syi0808 |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| syi0808:fix/wrong-return-type-async-generic | https://github.com/syi0808/TypeScript/tree/fix/wrong-return-type-async-generic |
|
| https://github.com/syi0808 |
| syi0808 | https://github.com/syi0808 |
| Jul 16, 2024 | https://github.com/microsoft/TypeScript/pull/59290#issue-2410389266 |
| https://github.com/microsoft/TypeScript/pull/51196/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8R29780-R29792 | https://github.com/microsoft/TypeScript/pull/51196/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8R29780-R29792 |
| #59281 | https://github.com/microsoft/TypeScript/issues/59281 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
|
| https://github.com/syi0808 |
| fix: async generic function infer wrong return type in inline call | https://github.com/microsoft/TypeScript/pull/59290/commits/e416aea0e543034140311c18fa44193018185c62 |
| e416aea | https://github.com/microsoft/TypeScript/pull/59290/commits/e416aea0e543034140311c18fa44193018185c62 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
|
For Uncommitted Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22 |
| Jul 16, 2024 | https://github.com/microsoft/TypeScript/pull/59290#event-13516131315 |
| https://github.com/syi0808 |
| syi0808 | https://github.com/syi0808 |
| Jul 16, 2024 | https://github.com/microsoft/TypeScript/pull/59290#issuecomment-2230183183 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
| https://github.com/Andarist |
| Andarist | https://github.com/Andarist |
|
Jul 16, 2024
| https://github.com/microsoft/TypeScript/pull/59290#pullrequestreview-2179971107 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/59290/files/e416aea0e543034140311c18fa44193018185c62 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/59290/files/e416aea0e543034140311c18fa44193018185c62#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Andarist | https://github.com/Andarist |
| Jul 16, 2024 | https://github.com/microsoft/TypeScript/pull/59290#discussion_r1679228717 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| here | https://github.com/microsoft/TypeScript/issues/59281#issuecomment-2230595632 |
| #57421 | https://github.com/microsoft/TypeScript/pull/57421 |
| TS playground | https://www.typescriptlang.org/play/?ts=5.5.0-pr-57421-28#code/C4TwDgpgBAsg9gYwNYDECGDhwE4gOoCWwAFgBIQA2k2APDFALxQCuAdkq3AO6sB8jUABQBYAFBQoBALZgcwAPLYCAcwKs0FAFxQaAFSgQAHsAisAJgGdYAmL0EBKRvwAK2OFIIWIe3gBoxjgwuaNjABBo0AEoQCDhmNEgQIHAAZrC+UGisILy8ANxioJBQru6eEPDI6Jg4+ERklNR0Amwc3HwCIuKSMnKKKmoa2noGxqaW1ky2Dk4lbh5ePv6igS7z5TTOIWER0bHY8YnJaTAZWTm5BaJisawWwCxhWlAA3mISUohIPoKfZswUCDaUoLby6PxQFIYLC4AD82kqqGhtUIJHIVAgtHB9m0ADc4AQzFcPl8fn8AUC5mVFuCMlCanDgesvIjqjC6mjGpifDioPjCVcAL4CN7dT7IbSCGZBV6CxxoKznZaCq5iMwxCghaApNiYAhwVhQZQQYBbEjwf6AhxM6neF5QTjYKQaAgALwggjAaBI2nuSlYyl5frUyiggvyYjEzCeADpxUhBMbTd7iBaKQ4zhYQKwEEJpLJQv1VOoKKshKKJDGq4I0Fw0EQegWFEpixoHPZlfZ7HkgA |
| #51196 | https://github.com/microsoft/TypeScript/pull/51196 |
| #51196 | https://github.com/microsoft/TypeScript/pull/51196 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
| syi0808 | https://github.com/syi0808 |
| Jul 16, 2024 | https://github.com/microsoft/TypeScript/pull/59290#discussion_r1679367335 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
| Andarist | https://github.com/Andarist |
| Jul 16, 2024 | https://github.com/microsoft/TypeScript/pull/59290#discussion_r1679389431 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
| syi0808 | https://github.com/syi0808 |
| Jul 16, 2024 | https://github.com/microsoft/TypeScript/pull/59290#discussion_r1679401595 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://private-user-images.githubusercontent.com/66503450/348769078-3a2ab9b1-f967-4eb4-b94d-8c28f3a80025.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQ3MTk5NTAsIm5iZiI6MTc4NDcxOTY1MCwicGF0aCI6Ii82NjUwMzQ1MC8zNDg3NjkwNzgtM2EyYWI5YjEtZjk2Ny00ZWI0LWI5NGQtOGMyOGYzYTgwMDI1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzIyVDExMjczMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2ZjczOWM5ODQwMzk3YzQ4NzkzNDU1NDI0OWI0MTY2MmUwYWE5NDc3Y2ZiMjgxYWE2YWFkNTAzMWYzYTVlMWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.G3mQkaio43HxVRSwcCY6FRuU7dizGWoqyTgUD4_qAoM |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
| syi0808 | https://github.com/syi0808 |
| Jul 16, 2024 | https://github.com/microsoft/TypeScript/pull/59290#discussion_r1679419097 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
| Andarist | https://github.com/Andarist |
| Jul 16, 2024 | https://github.com/microsoft/TypeScript/pull/59290#discussion_r1679429876 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #59298 | https://github.com/microsoft/TypeScript/issues/59298 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
| syi0808 | https://github.com/syi0808 |
| Jul 16, 2024 | https://github.com/microsoft/TypeScript/pull/59290#discussion_r1679691363 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| TS playground | https://www.typescriptlang.org/play/?ts=5.6.0-dev.20240715#code/C4TwDgpgBAsg9gYwNYDECGDhwE4gOoCWwAFgBIQA2k2APDFALxQCuAdkq3AO6sB8jUABQBYAFBQoBALZgcwAPLYCAcwKs0FAFxQaAFSgQAHsAisAJgGdYAmL0EBKRvwAK2OFIIWIe3gBoxjgwuaNjABBo0AEoQCDhmNEgQIHAAZrC+UGisILy8ANxioJBQru6eEPDI6Jg4+ERklNR0Amwc3HwCIuKSMnKKKmoa2noGxqaW1ky2Dk4lbh5ePv6igS7z5TTOIWER0bHY8YnJaTAZWTm5BaJisawWwCxhWlAA3mISUohIPoKfZswUCDaUoLby6PxQFIYLC4AD82kqqGhtUIJHIVAgtHB9m0ADc4AQzFcPl8fn8AUC5mVFuCMlCanDgesvIjqjC6mjGpifDioPjCVcAL4CN7dT7IbSCGZBV6CxxoKznZaCq5iMwxCghaApNiYAhwVhQZQQYBbEjwf6AhxM6neF5QTjYKQaAgALwggjAaBI2nuSlYyl5frUyiggvyYjEggVIFYCEhurCBqEjlFEmYTwAdOKkIJjabvcQLRSHGcLLH44JpLJQv1VOoKKtXu8JFBbvcoDgBg2BGguGgiD0awolPWNA5Vd0JNgTcxsIa062JJmV12xxRlkuVS25UL7BPI9cj0A |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
| syi0808 | https://github.com/syi0808 |
| July 17, 2024 01:27 | https://github.com/microsoft/TypeScript/pull/59290#commits-pushed-fdd74d0 |
|
| https://github.com/syi0808 |
|
| https://github.com/Andarist |
| fix: if filtered type is never, return original type | https://github.com/microsoft/TypeScript/pull/59290/commits/fdd74d0d771e884932644471990bdd404c29c548 |
| fdd74d0 | https://github.com/microsoft/TypeScript/pull/59290/commits/fdd74d0d771e884932644471990bdd404c29c548 |
|
| https://github.com/syi0808 |
| fix: formatting | https://github.com/microsoft/TypeScript/pull/59290/commits/899a128255282252cc907201e49881163b69e344 |
| 899a128 | https://github.com/microsoft/TypeScript/pull/59290/commits/899a128255282252cc907201e49881163b69e344 |
| https://github.com/syi0808 |
| syi0808 | https://github.com/syi0808 |
| Andarist | https://github.com/Andarist |
| July 26, 2024 13:09 | https://github.com/microsoft/TypeScript/pull/59290#event-13661031429 |
| https://github.com/syi0808 |
| syi0808 | https://github.com/syi0808 |
| Nov 3, 2025 | https://github.com/microsoft/TypeScript/pull/59290#event-20665925984 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| PR Backlog | https://github.com/orgs/microsoft/projects/1252 |
| Nov 3, 2025 | https://github.com/microsoft/TypeScript/pull/59290#event-20665926743 |
| https://github.com/microsoft |
| microsoft | https://github.com/microsoft |
| May 4, 2026 | https://github.com/microsoft/TypeScript/pull/59290#event-25140517180 |
| 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%2F59290 |
|
| https://github.com/Andarist |
|
Andarist
| https://github.com/Andarist |
|
For Uncommitted Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22 |
|
PR Backlog
| https://github.com/orgs/microsoft/projects/1252 |
|
spread operator infer to wrong type with method override and generic
| https://github.com/microsoft/TypeScript/issues/59281 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/59290 |
|
| https://github.com/syi0808 |
|
| https://github.com/Andarist |
|
| 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 |