| 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:0b519deb-56fd-e8a6-8df1-91d0b746a53f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C3C2:196FB5:1F6C07:2A5DBE:6A61A034 |
| html-safe-nonce | 860bcb7443364678ff5a1073b2e69bd16d6902d7fb7f1841d99f58bda42a3e72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0MyOjE5NkZCNToxRjZDMDc6MkE1REJFOjZBNjFBMDM0IiwidmlzaXRvcl9pZCI6Ijg5NjU2OTU2MDAyNzAwOTAyOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e37bcba1cf1d65aba923041227c9cc37f00b83bffeaa8addfc590057dbbdd809 |
| hovercard-subject-tag | pull_request:210908100 |
| 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/26676/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/dec0e05171aac94614e05d421b2a51e2843582a2abc7eba60ae111d743472d46/microsoft/TypeScript/pull/26676 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dec0e05171aac94614e05d421b2a51e2843582a2abc7eba60ae111d743472d46/microsoft/TypeScript/pull/26676 |
| og:image:alt | With this PR we properly check rest parameters of any subtype of any[], including user-defined array types and unions of tuple types. In cases where a rest parameter type is not exactly a T[] or a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ahejlsberg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9 |
| 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 | ac296ae7f21856f1f92adbad22f870b6fbb4b907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/TypeScript/pull/26676#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F26676 |
| 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%2F26676 |
|
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/26676 |
| Reload | https://github.com/microsoft/TypeScript/pull/26676 |
| Reload | https://github.com/microsoft/TypeScript/pull/26676 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
|
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
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 |
| ahejlsberg | https://github.com/ahejlsberg |
| master | https://github.com/microsoft/TypeScript/tree/master |
| complexRestParameterTypes | https://github.com/microsoft/TypeScript/tree/complexRestParameterTypes |
| Conversation | https://github.com/microsoft/TypeScript/pull/26676 |
| Commits8 (8) | https://github.com/microsoft/TypeScript/pull/26676/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/26676/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/26676/files |
| Improve checking of complex rest parameter types | https://github.com/microsoft/TypeScript/pull/26676#top |
| ahejlsberg | https://github.com/ahejlsberg |
| master | https://github.com/microsoft/TypeScript/tree/master |
| complexRestParameterTypes | https://github.com/microsoft/TypeScript/tree/complexRestParameterTypes |
|
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| Aug 25, 2018 | https://github.com/microsoft/TypeScript/pull/26676#issue-354021772 |
| #26110 | https://github.com/microsoft/TypeScript/issues/26110 |
| #26491 | https://github.com/microsoft/TypeScript/issues/26491 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
| ahejlsberg | https://github.com/ahejlsberg |
| August 24, 2018 13:29 | https://github.com/microsoft/TypeScript/pull/26676#commits-pushed-9ef65ef |
|
| https://github.com/ahejlsberg |
| Use getSpreadArgumentType when relating to complex rest parameter types | https://github.com/microsoft/TypeScript/pull/26676/commits/9ef65ef3a4cf550d7231fb55a508f09fb7bfff1d |
| 9ef65ef | https://github.com/microsoft/TypeScript/pull/26676/commits/9ef65ef3a4cf550d7231fb55a508f09fb7bfff1d |
|
| https://github.com/ahejlsberg |
| Accept new baselines | https://github.com/microsoft/TypeScript/pull/26676/commits/4e44b080200ec47ea5accaf51331a0ae73629740 |
| 4e44b08 | https://github.com/microsoft/TypeScript/pull/26676/commits/4e44b080200ec47ea5accaf51331a0ae73629740 |
|
| https://github.com/ahejlsberg |
| Revise complex rest parameter handling in relations and inference | https://github.com/microsoft/TypeScript/pull/26676/commits/f5f61335ee655675f33e6b7238f9c160036d0eb6 |
| f5f6133 | https://github.com/microsoft/TypeScript/pull/26676/commits/f5f61335ee655675f33e6b7238f9c160036d0eb6 |
|
| https://github.com/ahejlsberg |
| Accept new baselines | https://github.com/microsoft/TypeScript/pull/26676/commits/0e1b99842c3a35e6e113253e2e3cfe9ce6ee60bc |
| 0e1b998 | https://github.com/microsoft/TypeScript/pull/26676/commits/0e1b99842c3a35e6e113253e2e3cfe9ce6ee60bc |
|
| https://github.com/ahejlsberg |
| Add tests | https://github.com/microsoft/TypeScript/pull/26676/commits/676892ee56ef5804ea018ab217f1d4d1399bf4ef |
| 676892e | https://github.com/microsoft/TypeScript/pull/26676/commits/676892ee56ef5804ea018ab217f1d4d1399bf4ef |
|
| https://github.com/ahejlsberg |
| Accept new baselines | https://github.com/microsoft/TypeScript/pull/26676/commits/349bee92a34cf3550ae594213ad1eefabfb2f3df |
| 349bee9 | https://github.com/microsoft/TypeScript/pull/26676/commits/349bee92a34cf3550ae594213ad1eefabfb2f3df |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
| RyanCavanaugh | https://github.com/RyanCavanaugh |
| sandersn | https://github.com/sandersn |
| August 25, 2018 15:40 | https://github.com/microsoft/TypeScript/pull/26676#event-1809036331 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
|
Aug 25, 2018
| https://github.com/microsoft/TypeScript/pull/26676#ref-pullrequest-331436630 |
|
Tuples in rest parameters and spread expressions
#24897
| https://github.com/microsoft/TypeScript/pull/24897 |
| https://github.com/mattmccutchen |
| mattmccutchen | https://github.com/mattmccutchen |
| Aug 26, 2018 | https://github.com/microsoft/TypeScript/pull/26676#issuecomment-416060164 |
| 349bee9 | https://github.com/microsoft/TypeScript/commit/349bee92a34cf3550ae594213ad1eefabfb2f3df |
| #26110 (comment) | https://github.com/microsoft/TypeScript/issues/26110#issuecomment-415199148 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
|
Aug 26, 2018
| https://github.com/microsoft/TypeScript/pull/26676#ref-issue-346436441 |
|
Spreads instantiated with array subtypes types exhibit bad behavior
#26110
| https://github.com/microsoft/TypeScript/issues/26110 |
| https://github.com/mattmccutchen |
| mattmccutchen | https://github.com/mattmccutchen |
| Aug 27, 2018 | https://github.com/microsoft/TypeScript/pull/26676#issuecomment-416085414 |
| #26110 (comment) | https://github.com/microsoft/TypeScript/issues/26110#issuecomment-416076790 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
|
Improved mapped type support for arrays and tuples
#26063
| https://github.com/microsoft/TypeScript/pull/26063 |
|
Mapped tuple types don't infer as arrays in generics
#26163
| https://github.com/microsoft/TypeScript/issues/26163 |
| https://github.com/sandersn |
| sandersn | https://github.com/sandersn |
|
Aug 28, 2018
| https://github.com/microsoft/TypeScript/pull/26676#pullrequestreview-150202580 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/26676/files/349bee92a34cf3550ae594213ad1eefabfb2f3df |
| sandersn | https://github.com/sandersn |
| https://github.com/microsoft/TypeScript/pull/26676#pullrequestreview-150202580 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/26676/files/349bee92a34cf3550ae594213ad1eefabfb2f3df#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| sandersn | https://github.com/sandersn |
| Aug 28, 2018 | https://github.com/microsoft/TypeScript/pull/26676#discussion_r213378606 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
| ahejlsberg | https://github.com/ahejlsberg |
| Aug 29, 2018 | https://github.com/microsoft/TypeScript/pull/26676#discussion_r213686724 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/26676/files/349bee92a34cf3550ae594213ad1eefabfb2f3df#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| sandersn | https://github.com/sandersn |
| Aug 28, 2018 | https://github.com/microsoft/TypeScript/pull/26676#discussion_r213404442 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
| ahejlsberg | https://github.com/ahejlsberg |
| Aug 29, 2018 | https://github.com/microsoft/TypeScript/pull/26676#discussion_r213685508 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/26676/files/349bee92a34cf3550ae594213ad1eefabfb2f3df#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| sandersn | https://github.com/sandersn |
| Aug 28, 2018 | https://github.com/microsoft/TypeScript/pull/26676#discussion_r213411629 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
| ahejlsberg | https://github.com/ahejlsberg |
| Aug 29, 2018 | https://github.com/microsoft/TypeScript/pull/26676#discussion_r213687513 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
| ahejlsberg | https://github.com/ahejlsberg |
| August 29, 2018 06:57 | https://github.com/microsoft/TypeScript/pull/26676#commits-pushed-9f4ae5f |
|
| https://github.com/ahejlsberg |
| Fix typo | https://github.com/microsoft/TypeScript/pull/26676/commits/9f4ae5f5eaa48c4ee52caaaae4193a0ad519b5bc |
| 9f4ae5f | https://github.com/microsoft/TypeScript/pull/26676/commits/9f4ae5f5eaa48c4ee52caaaae4193a0ad519b5bc |
|
| https://github.com/ahejlsberg |
| Merge branch 'master' into complexRestParameterTypes | https://github.com/microsoft/TypeScript/pull/26676/commits/a2d2f5aee6cb44c05b0b4254446cf33881669542 |
| a2d2f5a | https://github.com/microsoft/TypeScript/pull/26676/commits/a2d2f5aee6cb44c05b0b4254446cf33881669542 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| d066e1e | https://github.com/microsoft/TypeScript/commit/d066e1e9e3cd04335714c49546be0e98d4b3db8e |
| Aug 29, 2018 | https://github.com/microsoft/TypeScript/pull/26676#event-1816414783 |
| https://github.com/ahejlsberg |
| ahejlsberg | https://github.com/ahejlsberg |
| August 29, 2018 18:39 | https://github.com/microsoft/TypeScript/pull/26676#event-1816414914 |
| https://github.com/brendankenny |
| brendankenny | https://github.com/brendankenny |
|
Aug 30, 2018
| https://github.com/microsoft/TypeScript/pull/26676#ref-issue-355378480 |
|
Performance issue checking IndexedAccess rest parameter that resolves to large union of tuples
#26756
| https://github.com/microsoft/TypeScript/issues/26756 |
| https://github.com/jacobwgillespie |
| jacobwgillespie | https://github.com/jacobwgillespie |
|
Dec 31, 2018
| https://github.com/microsoft/TypeScript/pull/26676#ref-pullrequest-394844551 |
|
React components cannot render undefined
DefinitelyTyped/DefinitelyTyped#31782
| https://github.com/DefinitelyTyped/DefinitelyTyped/pull/31782 |
| https://github.com/ipotuzhnov |
| ipotuzhnov | https://github.com/ipotuzhnov |
|
May 16, 2019
| https://github.com/microsoft/TypeScript/pull/26676#ref-issue-445131511 |
|
Extending empty tuple in generic functions causes compiler to infer arrays as tuples
#31434
| https://github.com/microsoft/TypeScript/issues/31434 |
| https://github.com/microsoft |
| microsoft | https://github.com/microsoft |
| Oct 21, 2025 | https://github.com/microsoft/TypeScript/pull/26676#event-20415780569 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| ahejlsberg | https://github.com/ahejlsberg |
| Oct 21, 2025 | https://github.com/microsoft/TypeScript/pull/26676#event-20415781598 |
| 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%2F26676 |
|
| https://github.com/sandersn |
|
sandersn
| https://github.com/sandersn |
|
| https://github.com/microsoft/TypeScript/pull/26676/files/349bee92a34cf3550ae594213ad1eefabfb2f3df |
|
| https://github.com/RyanCavanaugh |
|
RyanCavanaugh
| https://github.com/RyanCavanaugh |
|
| https://github.com/DanielRosenwasser |
|
DanielRosenwasser
| https://github.com/DanielRosenwasser |
|
| https://github.com/ahejlsberg |
|
ahejlsberg
| https://github.com/ahejlsberg |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/26676 |
|
| https://github.com/ahejlsberg |
|
| https://github.com/mattmccutchen |
|
| https://github.com/sandersn |
|
| 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 |