René's URL Explorer Experiment


Title: fix(65069): preserve contextual types for array-destructured parameter defaults by timurzvural · Pull Request #65070 · microsoft/TypeScript · GitHub

Open Graph Title: fix(65069): preserve contextual types for array-destructured parameter defaults by timurzvural · Pull Request #65070 · microsoft/TypeScript

X Title: fix(65069): preserve contextual types for array-destructured parameter defaults by timurzvural · Pull Request #65070 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - fix(65069): preserve contextual types for array-destructured parameter defaults by timurzvural · Pull Request #65070 · microsoft/TypeScript

Open Graph Description: Fixes #65069. Bug In 7.1, a destructured parameter with a default like = [] loses its contextual type and reports TS7031 on binding elements. The object form (= {}) is #64974; this PR covers the ar...

X Description: Fixes #65069. Bug In 7.1, a destructured parameter with a default like = [] loses its contextual type and reports TS7031 on binding elements. The object form (= {}) is #64974; this PR covers the ar...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:220e276e-acc2-052d-f255-5e8123a3c57f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCBE6:26ECEB:C8F0B8:102FB6A:6B00EE38
html-safe-nonce1b3e6af72ae77f28c2a4614060b49cb2bb5026071b5abfe15dbccf2df2e70c4d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkU2OjI2RUNFQjpDOEYwQjg6MTAyRkI2QTo2QjAwRUUzOCIsInZpc2l0b3JfaWQiOiIzNTM3NDU5Njg1MjU2OTE2NTM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac51c2f01b52dba13fd3355a0e34fbebd669864a0ae9525ae78c1e478314ea4b20
hovercard-subject-tagpull_request:5093083605
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/65070/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a5dfd69f95df2a3874e301d1459762caa3be29c19e49f1f27051a6f3618e99cd/microsoft/TypeScript/pull/65070
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a5dfd69f95df2a3874e301d1459762caa3be29c19e49f1f27051a6f3618e99cd/microsoft/TypeScript/pull/65070
og:image:altFixes #65069. Bug In 7.1, a destructured parameter with a default like = [] loses its contextual type and reports TS7031 on binding elements. The object form (= {}) is #64974; this PR covers the ar...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametimurzvural
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/65070#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F65070
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F65070
Sign uphttps://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/65070
Reloadhttps://github.com/microsoft/TypeScript/pull/65070
Reloadhttps://github.com/microsoft/TypeScript/pull/65070
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Timur Vural (timurzvural)https://github.com/timurzvural
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
timurzvural:fix/65069-array-destructured-defaulthttps://github.com/timurzvural/TypeScript/tree/fix/65069-array-destructured-default
Conversationhttps://github.com/microsoft/TypeScript/pull/65070
Commits1 (1)https://github.com/microsoft/TypeScript/pull/65070/commits
Checkshttps://github.com/microsoft/TypeScript/pull/65070/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/65070/files
fix(65069): preserve contextual types for array-destructured parameter defaultshttps://github.com/microsoft/TypeScript/pull/65070#top
Timur Vural (timurzvural)https://github.com/timurzvural
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
timurzvural:fix/65069-array-destructured-defaulthttps://github.com/timurzvural/TypeScript/tree/fix/65069-array-destructured-default
https://github.com/timurzvural
Timur Vural (timurzvural)https://github.com/timurzvural
Oct 31, 2026https://github.com/microsoft/TypeScript/pull/65070#issue-6129410044
#64974https://github.com/microsoft/TypeScript/issues/64974
7.1: destructured parameter with a = {} default loses its contextual type (TS7031) #64974https://github.com/microsoft/TypeScript/issues/64974
fix(64974): fix contextual typing for destructured parameter defaults #64978https://github.com/microsoft/TypeScript/pull/64978
fix(65011): preserve contextual types for destructured parameter defaults #65016https://github.com/microsoft/TypeScript/pull/65016
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
https://github.com/timurzvural
https://github.com/cursoragent
fix(65069): preserve contextual types for array-destructured paramete…https://github.com/microsoft/TypeScript/pull/65070/commits/bc2e5ae28e036fd62012bb934ccd1cc23c396086
bc2e5aehttps://github.com/microsoft/TypeScript/pull/65070/commits/bc2e5ae28e036fd62012bb934ccd1cc23c396086
microsoft#64974https://github.com/microsoft/TypeScript/issues/64974
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
October 31, 2026 01:01https://github.com/microsoft/TypeScript/pull/65070#event-34745233380
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
PR Backloghttps://github.com/orgs/microsoft/projects/1252
Oct 31, 2026https://github.com/microsoft/TypeScript/pull/65070#event-34745233828
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
PR Backloghttps://github.com/orgs/microsoft/projects/1252
Oct 31, 2026https://github.com/microsoft/TypeScript/pull/65070#event-34745236386
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Oct 31, 2026https://github.com/microsoft/TypeScript/pull/65070#event-34745235019
started reviewinghttps://github.com/microsoft/TypeScript/sessions/aada9d63-1f94-448a-837b-b2f8b6d78449
Timur Vural (timurzvural)https://github.com/timurzvural
October 31, 2026 01:02https://github.com/microsoft/TypeScript/pull/65070#event-34745283709
View session https://github.com/microsoft/TypeScript/sessions/aada9d63-1f94-448a-837b-b2f8b6d78449
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Oct 31, 2026 https://github.com/microsoft/TypeScript/pull/65070#pullrequestreview-5720266958
View reviewed changes https://github.com/microsoft/TypeScript/pull/65070/files/bc2e5ae28e036fd62012bb934ccd1cc23c396086
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/microsoft/TypeScript/pull/65070#pullrequestreview-5720266958
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#64974https://github.com/microsoft/TypeScript/issues/64974
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
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
Nov 3, 2026https://github.com/microsoft/TypeScript/pull/65070#event-34969279804
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Nov 3, 2026https://github.com/microsoft/TypeScript/pull/65070#issuecomment-6591976716
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Nov 3, 2026https://github.com/microsoft/TypeScript/pull/65070#issuecomment-6591978549
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=169860
✅ Resultshttps://github.com/microsoft/TypeScript/pull/65070#issuecomment-6593418913
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=169861
✅ Resultshttps://github.com/microsoft/TypeScript/pull/65070#issuecomment-6592543087
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=169863
✅ Resultshttps://github.com/microsoft/TypeScript/pull/65070#issuecomment-6592453846
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=169862
👀 Resultshttps://github.com/microsoft/TypeScript/pull/65070#issuecomment-6592747094
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Nov 3, 2026https://github.com/microsoft/TypeScript/pull/65070#issuecomment-6592453846
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
You can check the log herehttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=169863
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Nov 3, 2026https://github.com/microsoft/TypeScript/pull/65070#issuecomment-6592543087
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Nov 3, 2026https://github.com/microsoft/TypeScript/pull/65070#issuecomment-6592747094
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Download Benchmarkshttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=169862&view=artifacts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
https://github.com/apps/typescript-automation
typescript-automationhttps://github.com/apps/typescript-automation
Nov 3, 2026https://github.com/microsoft/TypeScript/pull/65070#issuecomment-6593418913
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
https://github.com/maschwenk
Max Schwenk (maschwenk)https://github.com/maschwenk
Nov 11, 2026 https://github.com/microsoft/TypeScript/pull/65070#ref-issue-6049341337
7.1: destructured parameter with a = {} default loses its contextual type (TS7031) #64974 https://github.com/microsoft/TypeScript/issues/64974
https://github.com/abrahamguo
Abraham Guo (abrahamguo)https://github.com/abrahamguo
Nov 16, 2026 https://github.com/microsoft/TypeScript/pull/65070#ref-issue-5574723985
TS7031 false positive for nested object binding pattern with = {} default in an annotated parameter (regression from #64043) #64431 https://github.com/microsoft/TypeScript/issues/64431
Skip default padding for params with declared/contextual types #65542 https://github.com/microsoft/TypeScript/pull/65542
Revert "Align object binding defaults with arrays" #65556 https://github.com/microsoft/TypeScript/pull/65556
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
#65556 https://github.com/microsoft/TypeScript/pull/65556
Nov 18, 2026https://github.com/microsoft/TypeScript/pull/65070#event-36471293562
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
PR Backloghttps://github.com/orgs/microsoft/projects/1252
Nov 18, 2026https://github.com/microsoft/TypeScript/pull/65070#event-36471298370
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F65070
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/microsoft/TypeScript/pull/65070/files/bc2e5ae28e036fd62012bb934ccd1cc23c396086
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/65070
https://github.com/timurzvural
https://github.com/RyanCavanaugh
https://github.com/apps/copilot-pull-request-reviewer
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.