René's URL Explorer Experiment


Title: Regression in autocompletion on spread generic arguments · Issue #54572 · microsoft/TypeScript · GitHub

Open Graph Title: Regression in autocompletion on spread generic arguments · Issue #54572 · microsoft/TypeScript

X Title: Regression in autocompletion on spread generic arguments · Issue #54572 · microsoft/TypeScript

Description: Bug Report 🔎 Search Terms autocomplete, regression 🕗 Version & Regression Information This changed between versions 5.0.4 and 5.1.3 ⏯ Playground Link Playground link with relevant code 💻 Code function fn

Open Graph Description: Bug Report 🔎 Search Terms autocomplete, regression 🕗 Version & Regression Information This changed between versions 5.0.4 and 5.1.3 ⏯ Playground Link Playground link with relevant code 💻 Code funct...

X Description: Bug Report 🔎 Search Terms autocomplete, regression 🕗 Version & Regression Information This changed between versions 5.0.4 and 5.1.3 ⏯ Playground Link Playground link with relevant code 💻 Code f...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/54572

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression in autocompletion on spread generic arguments","articleBody":"# Bug Report\r\n\r\n\u003c!--\r\n  Please fill in each section completely. Thank you!\r\n-->\r\n\r\n### 🔎 Search Terms\r\n\r\nautocomplete, regression\r\n\r\n### 🕗 Version & Regression Information\r\n\r\n- This changed between versions **5.0.4** and **5.1.3**\r\n\r\n### ⏯ Playground Link\r\n\r\n[Playground link with relevant code](https://www.typescriptlang.org/play?ts=5.1.3#code/GYVwdgxgLglg9mABMMAeAKogpgDylsAEwGdEAKAcgDcBDAGxCwEYLEAfRa+xgJlY64MsAZgoBKANoBdAHxkAdItpDiALkTox6zAG9EAJyxQQ+pMsbEA3IgC+AKDsB6R4gCSSAKzym84QBpEMDhEZRhCRBoQKDgAWwAHOiN4JDI4fQi6BABzRAB3GCgACwMaIliAmEg0w2gQ7ixiMQCAIyjESsQvAAZ5ABY6oSY2cyweYfrhAYsIwwiouAhYhKMscMX9Gqg6AE87RbBiKCnmRABeZDBKcUs9hEPjnjOLyhGWAIpruyA)\r\n\r\n### 💻 Code\r\n\r\n```typescript\r\nfunction fn\u003cT extends ('value1' | 'value2' | 'value3')[]>(...values: T): T { return values; }\r\n\r\nconst value1 = fn('');\r\nconst value2 = fn('value1', '');\r\n```\r\n\r\n### 🙁 Actual behavior\r\n\r\nIt should autocomplete inside both '' (empty string) places with value1|value2|value3 possible values, however it shows incorrect (kind of randomly gathered) options. For eg.:\r\n\r\n![image](https://github.com/microsoft/TypeScript/assets/8817255/e6eee51b-f60f-4d39-80d0-8a7cdaaec4b3)\r\n\r\n\r\n### 🙂 Expected behavior\r\n\r\nIt should show only value1 / value2 / value3 options (as it does correctly with 5.0.4 and before), like this:\r\n\r\n![image](https://github.com/microsoft/TypeScript/assets/8817255/658ea401-f325-42c1-8df9-9003a34e4610)\r\n\r\n\r\nThis issue could be related to (https://github.com/microsoft/TypeScript/issues/53555) and (https://github.com/microsoft/TypeScript/issues/52726) but I think my case is more basic, and appeared only in the latest (5.1.3) version of TS. (couldn't test if versions between 5.1.0 and 5.1.3 were affected or not, I could test only 5.1.3).","author":{"url":"https://github.com/dexx086","@type":"Person","name":"dexx086"},"datePublished":"2023-06-08T08:12:09Z","url":"https://github.com/microsoft/TypeScript/issues/54572"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:648ece0a-ce91-1e13-de83-bb240a742496
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB8B4:A71F9:C2EFA4:F50B92:6B0134D9
html-safe-nonce297d8334dc61922cd2cb9f207f13b70a8e21b6869250c1e3926a7551800760d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEI0OkE3MUY5OkMyRUZBNDpGNTBCOTI6NkIwMTM0RDkiLCJ2aXNpdG9yX2lkIjoiNTI5ODExNTc5Mzc3NzY2OTMzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca5b681215c0c1484fdc0f3a3345efba35cceaa6e5ee204cc1078f35e960c8957
hovercard-subject-tagissue:1747341474
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/54572/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8d5bd9c7b7f8bc51f7404ea16436ca4212717742f3621cab9fd66ecc3e23ea68/microsoft/TypeScript/issues/54572
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d5bd9c7b7f8bc51f7404ea16436ca4212717742f3621cab9fd66ecc3e23ea68/microsoft/TypeScript/issues/54572
og:image:altBug Report 🔎 Search Terms autocomplete, regression 🕗 Version & Regression Information This changed between versions 5.0.4 and 5.1.3 ⏯ Playground Link Playground link with relevant code 💻 Code funct...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedexx086
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/54572#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F54572
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%2Fissues%2F54572
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/54572
Reloadhttps://github.com/microsoft/TypeScript/issues/54572
Reloadhttps://github.com/microsoft/TypeScript/issues/54572
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests310 (310)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
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/54572
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/54572
#54588https://github.com/microsoft/TypeScript/pull/54588
Regression in autocompletion on spread generic argumentshttps://github.com/microsoft/TypeScript/issues/54572#top
#54588https://github.com/microsoft/TypeScript/pull/54588
Domain: LS: Completion ListsThe issue relates to showing completion lists in an editorhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20LS%3A%20Completion%20Lists%22
Possible ImprovementThe current behavior isn't wrong, but it's possible to see that it might be better in some caseshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Possible%20Improvement%22
Backloghttps://github.com/microsoft/TypeScript/milestone/29
https://github.com/dexx086
dexx086https://github.com/dexx086
on Jun 8, 2023https://github.com/microsoft/TypeScript/issues/54572#issue-1747341474
Playground link with relevant codehttps://www.typescriptlang.org/play?ts=5.1.3#code/GYVwdgxgLglg9mABMMAeAKogpgDylsAEwGdEAKAcgDcBDAGxCwEYLEAfRa+xgJlY64MsAZgoBKANoBdAHxkAdItpDiALkTox6zAG9EAJyxQQ+pMsbEA3IgC+AKDsB6R4gCSSAKzym84QBpEMDhEZRhCRBoQKDgAWwAHOiN4JDI4fQi6BABzRAB3GCgACwMaIliAmEg0w2gQ7ixiMQCAIyjESsQvAAZ5ABY6oSY2cyweYfrhAYsIwwiouAhYhKMscMX9Gqg6AE87RbBiKCnmRABeZDBKcUs9hEPjnjOLyhGWAIpruyA
https://private-user-images.githubusercontent.com/8817255/244299246-e6eee51b-f60f-4d39-80d0-8a7cdaaec4b3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDE0NzcsIm5iZiI6MTc5NTI0MTE3NywicGF0aCI6Ii84ODE3MjU1LzI0NDI5OTI0Ni1lNmVlZTUxYi1mNjBmLTRkMzktODBkMC04YTdjZGFhZWM0YjMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2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WRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.QplCgr1RQqTS9nb5QenQIFo2OsGF2OanDkhchA7pkUU
#53555https://github.com/microsoft/TypeScript/issues/53555
#52726https://github.com/microsoft/TypeScript/issues/52726
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
on Jun 9, 2023https://github.com/microsoft/TypeScript/issues/54572#issuecomment-1584822086
#52717https://github.com/microsoft/TypeScript/pull/52717
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Help Wantedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Help%20Wanted%22
Possible ImprovementThe current behavior isn't wrong, but it's possible to see that it might be better in some caseshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Possible%20Improvement%22
on Jun 12, 2023https://github.com/microsoft/TypeScript/issues/54572#event-9505638586
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Backloghttps://github.com/microsoft/TypeScript/milestone/29
on Jun 12, 2023https://github.com/microsoft/TypeScript/issues/54572#event-9505639178
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Domain: LS: Completion ListsThe issue relates to showing completion lists in an editorhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20LS%3A%20Completion%20Lists%22
on Jun 12, 2023https://github.com/microsoft/TypeScript/issues/54572#event-9505639764
Andrew Branch (andrewbranch)https://github.com/andrewbranch
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#54588https://github.com/microsoft/TypeScript/pull/54588
on Jun 12, 2023https://github.com/microsoft/TypeScript/issues/54572#event-9508416703
microsofthttps://github.com/microsoft
on Oct 22, 2025https://github.com/microsoft/TypeScript/issues/54572#event-20419562888
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/54572
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/54572
Domain: LS: Completion ListsThe issue relates to showing completion lists in an editorhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20LS%3A%20Completion%20Lists%22
Possible ImprovementThe current behavior isn't wrong, but it's possible to see that it might be better in some caseshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Possible%20Improvement%22
BacklogNo due datehttps://github.com/microsoft/TypeScript/milestone/29
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.