René's URL Explorer Experiment


Title: Derive tuple labels for rest elements from array binding patterns by rbuckton · Pull Request #59045 · microsoft/TypeScript · GitHub

Open Graph Title: Derive tuple labels for rest elements from array binding patterns by rbuckton · Pull Request #59045 · microsoft/TypeScript

X Title: Derive tuple labels for rest elements from array binding patterns by rbuckton · Pull Request #59045 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Derive tuple labels for rest elements from array binding patterns by rbuckton · Pull Request #59045 · microsoft/TypeScript

Open Graph Description: While working on #58243, a community member asked if we could label the tuple we use to properly type arguments to the next() methods of iterators and generators. A brief experiment showed that dir...

X Description: While working on #58243, a community member asked if we could label the tuple we use to properly type arguments to the next() methods of iterators and generators. A brief experiment showed that dir...

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

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:e725e9e5-d497-27b6-496f-c896949c4ac2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC52E:3DC5A5:BA6D67:10657FC:6A4E89A3
html-safe-noncea7a170ee34d8ca36d3d95ce2e4a595312b38f1ccddf18d19adc3df35d0077c10
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTJFOjNEQzVBNTpCQTZENjc6MTA2NTdGQzo2QTRFODlBMyIsInZpc2l0b3JfaWQiOiI0NDczODk1Njc4Mjg0NTY0ODk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac56a47afa27163a10f4e2a9959cb54e9bfbd2722000a9f98a4b760fa5f65d6a09
hovercard-subject-tagpull_request:1940974908
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/59045/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0d3a194e313aa15f2c751a5433e045fc11862446f2f20d20877bf710a3c237da/microsoft/TypeScript/pull/59045
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0d3a194e313aa15f2c751a5433e045fc11862446f2f20d20877bf710a3c237da/microsoft/TypeScript/pull/59045
og:image:altWhile working on #58243, a community member asked if we could label the tuple we use to properly type arguments to the next() methods of iterators and generators. A brief experiment showed that dir...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerbuckton
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/59045#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F59045
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%2F59045
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/59045
Reloadhttps://github.com/microsoft/TypeScript/pull/59045
Reloadhttps://github.com/microsoft/TypeScript/pull/59045
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
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
rbucktonhttps://github.com/rbuckton
mainhttps://github.com/microsoft/TypeScript/tree/main
tuple-name-from-binding-elementhttps://github.com/microsoft/TypeScript/tree/tuple-name-from-binding-element
Conversationhttps://github.com/microsoft/TypeScript/pull/59045
Commits4 (4)https://github.com/microsoft/TypeScript/pull/59045/commits
Checkshttps://github.com/microsoft/TypeScript/pull/59045/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/59045/files
Derive tuple labels for rest elements from array binding patternshttps://github.com/microsoft/TypeScript/pull/59045#top
rbucktonhttps://github.com/rbuckton
mainhttps://github.com/microsoft/TypeScript/tree/main
tuple-name-from-binding-elementhttps://github.com/microsoft/TypeScript/tree/tuple-name-from-binding-element
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
Jun 26, 2024https://github.com/microsoft/TypeScript/pull/59045#issue-2376383480
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
#58243https://github.com/microsoft/TypeScript/pull/58243
#58243 (comment)https://github.com/microsoft/TypeScript/pull/58243#discussion_r1586225461
#56289https://github.com/microsoft/TypeScript/issues/56289
#57619https://github.com/microsoft/TypeScript/pull/57619
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
ahejlsberghttps://github.com/ahejlsberg
weswighamhttps://github.com/weswigham
June 26, 2024 22:35https://github.com/microsoft/TypeScript/pull/59045#event-13304934968
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
rbucktonhttps://github.com/rbuckton
Jun 26, 2024https://github.com/microsoft/TypeScript/pull/59045#event-13304935142
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 Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Jun 26, 2024https://github.com/microsoft/TypeScript/pull/59045#event-13304935225
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/59045#issuecomment-2192872748
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/59045#issuecomment-2192872789
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=162460
✅ Resultshttps://github.com/microsoft/TypeScript/pull/59045#issuecomment-2193130214
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=162459
✅ Resultshttps://github.com/microsoft/TypeScript/pull/59045#issuecomment-2192891595
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=162457
✅ Resultshttps://github.com/microsoft/TypeScript/pull/59045#issuecomment-2192887947
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=162458
👀 Resultshttps://github.com/microsoft/TypeScript/pull/59045#issuecomment-2192898096
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/59045#issuecomment-2192887947
@DanielRosenwasserhttps://github.com/DanielRosenwasser
You can check the log herehttps://typescript.visualstudio.com/TypeScript/_build/index?buildId=162457&_a=summary
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/59045#issuecomment-2192891595
@DanielRosenwasserhttps://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/59045#issuecomment-2192898096
@DanielRosenwasserhttps://github.com/DanielRosenwasser
Download Benchmarkshttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=162458&view=artifacts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/59045#issuecomment-2193130214
@DanielRosenwasserhttps://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/59045#issuecomment-2194185312
herehttps://github.com/microsoft/TypeScript/pull/57619
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
Jul 16, 2024 https://github.com/microsoft/TypeScript/pull/59045#ref-pullrequest-2165282972
Use destructured names as fallback labels when expanding parameters #57619 https://github.com/microsoft/TypeScript/pull/57619
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Jul 16, 2024https://github.com/microsoft/TypeScript/pull/59045#event-13526182775
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
DanielRosenwasserhttps://github.com/DanielRosenwasser
jakebaileyhttps://github.com/jakebailey
July 16, 2024 19:32https://github.com/microsoft/TypeScript/pull/59045#event-13526188213
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Jul 16, 2024https://github.com/microsoft/TypeScript/pull/59045#issuecomment-2231717649
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
rbucktonhttps://github.com/rbuckton
July 16, 2024 15:57https://github.com/microsoft/TypeScript/pull/59045#commits-pushed-9b5a768
https://github.com/rbuckton
Get tuple labels for rest elements from array binding patternshttps://github.com/microsoft/TypeScript/pull/59045/commits/9b5a7682a9175cc9cca2c8d52c1d728c44cf86c1
9b5a768https://github.com/microsoft/TypeScript/pull/59045/commits/9b5a7682a9175cc9cca2c8d52c1d728c44cf86c1
https://github.com/rbuckton
Additional test cases and better nameing for object patterns and elis…https://github.com/microsoft/TypeScript/pull/59045/commits/14d82b89da42b4d5c2fd06e2d8d518909cb87a35
14d82b8https://github.com/microsoft/TypeScript/pull/59045/commits/14d82b89da42b4d5c2fd06e2d8d518909cb87a35
https://github.com/rbuckton
More reliable name disambiguation, update baselineshttps://github.com/microsoft/TypeScript/pull/59045/commits/ae645c3addee0527cfbf59cc6b804d65768edac7
ae645c3https://github.com/microsoft/TypeScript/pull/59045/commits/ae645c3addee0527cfbf59cc6b804d65768edac7
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
force-pushedhttps://github.com/microsoft/TypeScript/compare/a4979187790e1a6bafc09bc20e9cfb75d8567e2c..ae645c3addee0527cfbf59cc6b804d65768edac7
a497918https://github.com/microsoft/TypeScript/commit/a4979187790e1a6bafc09bc20e9cfb75d8567e2c
ae645c3https://github.com/microsoft/TypeScript/commit/ae645c3addee0527cfbf59cc6b804d65768edac7
Compare https://github.com/microsoft/TypeScript/compare/a4979187790e1a6bafc09bc20e9cfb75d8567e2c..ae645c3addee0527cfbf59cc6b804d65768edac7
July 17, 2024 01:05https://github.com/microsoft/TypeScript/pull/59045#event-13528853710
https://github.com/rbuckton
Fix formattinghttps://github.com/microsoft/TypeScript/pull/59045/commits/f2640f3e3242486a4d584c069ca28e6426463591
f2640f3https://github.com/microsoft/TypeScript/pull/59045/commits/f2640f3e3242486a4d584c069ca28e6426463591
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Jul 17, 2024 https://github.com/microsoft/TypeScript/pull/59045#pullrequestreview-2183825713
View reviewed changes https://github.com/microsoft/TypeScript/pull/59045/files/f2640f3e3242486a4d584c069ca28e6426463591
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
369f2b0https://github.com/microsoft/TypeScript/commit/369f2b0fb8b29fc2558c77b8b0dcbf09e3d71dd4
Jul 17, 2024https://github.com/microsoft/TypeScript/pull/59045#event-13541577511
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
July 17, 2024 19:13https://github.com/microsoft/TypeScript/pull/59045#event-13541577861
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Jul 18, 2024 https://github.com/microsoft/TypeScript/pull/59045#ref-pullrequest-2251303654
Add TReturn/TNext to Iterable et al #58243 https://github.com/microsoft/TypeScript/pull/58243
https://github.com/rbuckton
rbucktonhttps://github.com/rbuckton
Jul 19, 2024 https://github.com/microsoft/TypeScript/pull/59045#ref-pullrequest-2419529075
Use tuple name inference for Iterator.next et al #59360 https://github.com/microsoft/TypeScript/pull/59360
https://github.com/sandersn
sandersnhttps://github.com/sandersn
PR Backloghttps://github.com/orgs/microsoft/projects/1252
Apr 22, 2025https://github.com/microsoft/TypeScript/pull/59045#event-17355397555
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 16, 2025https://github.com/microsoft/TypeScript/pull/59045#event-20309761085
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%2F59045
https://github.com/jakebailey
jakebailey https://github.com/jakebailey
https://github.com/microsoft/TypeScript/pull/59045/files/f2640f3e3242486a4d584c069ca28e6426463591
https://github.com/weswigham
weswigham https://github.com/weswigham
https://github.com/ahejlsberg
ahejlsberg https://github.com/ahejlsberg
https://github.com/DanielRosenwasser
DanielRosenwasser https://github.com/DanielRosenwasser
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 Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
Default rest parameter names to destructuring names when of an anonymous tuple https://github.com/microsoft/TypeScript/issues/56289
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/59045
https://github.com/rbuckton
https://github.com/DanielRosenwasser
https://github.com/typescript-bot
https://github.com/Andarist
https://github.com/jakebailey
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.