René's URL Explorer Experiment


Title: Properties in object literal key completion list aren't filtered when a prior argument supplies a mapped type key · Issue #35702 · microsoft/TypeScript · GitHub

Open Graph Title: Properties in object literal key completion list aren't filtered when a prior argument supplies a mapped type key · Issue #35702 · microsoft/TypeScript

X Title: Properties in object literal key completion list aren't filtered when a prior argument supplies a mapped type key · Issue #35702 · microsoft/TypeScript

Description: VSCode Version: 1.41.0 OS Version: macOS 10.14.6 Steps to Reproduce: >> Playground Link interface CustomElements { 'component-one': { foo?: string; }, 'component-two': { bar?: string; } } interface Options...

Open Graph Description: VSCode Version: 1.41.0 OS Version: macOS 10.14.6 Steps to Reproduce: >> Playground Link interface CustomElements { 'component-one': { foo?: string; }, 'component-two': { bar?: string; } } interface...

X Description: VSCode Version: 1.41.0 OS Version: macOS 10.14.6 Steps to Reproduce: >> Playground Link interface CustomElements { 'component-one': { foo?: string; }, 'component-two': { bar?:...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Properties in object literal key completion list aren't filtered when a prior argument supplies a mapped type key","articleBody":"- VSCode Version: 1.41.0\r\n- OS Version: macOS 10.14.6\r\n\r\nSteps to Reproduce:\r\n\r\n\\>\\> [Playground Link](https://www.typescriptlang.org/play/index.html?ssl=23&ssc=1&pln=19&pc=1#code/JYOwLgpgTgZghgYwgAgMIFcDOYD2BbAUQBsI8JxNkBvAWAChlHkByBfABxxHLAFouIzAFzV6Tcchg4cAfhHYooAOYBuMUwC+AGnWNWHAeF5gA7jmGiGExgCM4UOcgXK1Vxhvoe69UJFiIUAHl2MGAuTAAeABVkCAAPSBAAE0oAawgATxwYNCxcQhIyCgA+S3F2KBx2TBEMbHxiUh5MAG0ogF1XL3oYdBAEUK5kBCgIOEho2ITyFOR0rJy6-MaisExigAoQODIRKK1kKsGQGuRg48io4oBKMqZRsHQoEGpkbbIDo7CT5A0u+noIzGkA2+jwnG4RgEzAOVGQFSqpzhv1+11cgPCYEOIVO52+kTBEJ4-G4zFKAF47owEdURMivF4gA)\r\n\r\n```ts\r\ninterface CustomElements {\r\n    'component-one': {\r\n        foo?: string;\r\n    },\r\n    'component-two': {\r\n        bar?: string;\r\n    }\r\n}\r\n\r\ninterface Options\u003cT extends keyof CustomElements> {\r\n    props: CustomElements[T];\r\n}\r\n\r\nfunction create\u003cT extends keyof CustomElements>(name: T, options: Options\u003cT>) {\r\n    return { name, options };\r\n}\r\n\r\ncreate('component-one', { props: { /* trigger intellisense here */ } });\r\n\r\nconst opts: Options\u003c'component-one'> = {\r\n    props: { /* and here */ }\r\n}\r\n```\r\n\r\nThe type of `props` in the `create` call is correctly narrowed down to `CustomElements['component-one']` by the type system, however Intellisense suggests the props of all fields of `CustomElements`:\r\n\r\n\u003cimg src=\"https://user-images.githubusercontent.com/3410759/70867563-10b3a780-1f77-11ea-8440-2769d5d158ab.png\" width=\"642\">\r\n\r\nThis does not happen when creating an object of that type:\r\n\r\n\u003cimg src=\"https://user-images.githubusercontent.com/3410759/70867546-d8ac6480-1f76-11ea-931a-2e1f1dce4129.png\" width=\"479\">\r\n\r\nDoes this issue occur when all extensions are disabled?: Yes\r\n","author":{"url":"https://github.com/simonhaenisch","@type":"Person","name":"simonhaenisch"},"datePublished":"2019-12-15T19:14:47Z","url":"https://github.com/microsoft/TypeScript/issues/35702"}

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:e1833cdc-006d-04fa-9a80-ea1064bd6964
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9174:172B92:100DB8D:1577BDA:6B0112B1
html-safe-nonce32e6b03e22734c673925a04fea8eef305b96900b35d22fac5ba9a7ac2472d6be
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTc0OjE3MkI5MjoxMDBEQjhEOjE1NzdCREE6NkIwMTEyQjEiLCJ2aXNpdG9yX2lkIjoiMTUxOTEzOTA0NDAxNjA2NzI1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc26ed8957011026f19cfd7613c8003569c3a8f769d129292c59806023bdf7384
hovercard-subject-tagissue:538526675
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/35702/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7e79d86c0bd90e3ab60eabf0b61b0c82ea7d537b647ca3e4fd75a83c689295b2/microsoft/TypeScript/issues/35702
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7e79d86c0bd90e3ab60eabf0b61b0c82ea7d537b647ca3e4fd75a83c689295b2/microsoft/TypeScript/issues/35702
og:image:altVSCode Version: 1.41.0 OS Version: macOS 10.14.6 Steps to Reproduce: >> Playground Link interface CustomElements { 'component-one': { foo?: string; }, 'component-two': { bar?: string; } } interface...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesimonhaenisch
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/35702#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F35702
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%2F35702
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/35702
Reloadhttps://github.com/microsoft/TypeScript/issues/35702
Reloadhttps://github.com/microsoft/TypeScript/issues/35702
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/35702
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/35702
#36556https://github.com/microsoft/TypeScript/pull/36556
Properties in object literal key completion list aren't filtered when a prior argument supplies a mapped type keyhttps://github.com/microsoft/TypeScript/issues/35702#top
#36556https://github.com/microsoft/TypeScript/pull/36556
https://github.com/andrewbranch
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
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
TypeScript 3.8.1https://github.com/microsoft/TypeScript/milestone/107
https://github.com/simonhaenisch
Simon Hänisch (simonhaenisch)https://github.com/simonhaenisch
on Dec 15, 2019https://github.com/microsoft/TypeScript/issues/35702#issue-538526675
Playground Linkhttps://www.typescriptlang.org/play/index.html?ssl=23&ssc=1&pln=19&pc=1#code/JYOwLgpgTgZghgYwgAgMIFcDOYD2BbAUQBsI8JxNkBvAWAChlHkByBfABxxHLAFouIzAFzV6Tcchg4cAfhHYooAOYBuMUwC+AGnWNWHAeF5gA7jmGiGExgCM4UOcgXK1Vxhvoe69UJFiIUAHl2MGAuTAAeABVkCAAPSBAAE0oAawgATxwYNCxcQhIyCgA+S3F2KBx2TBEMbHxiUh5MAG0ogF1XL3oYdBAEUK5kBCgIOEho2ITyFOR0rJy6-MaisExigAoQODIRKK1kKsGQGuRg48io4oBKMqZRsHQoEGpkbbIDo7CT5A0u+noIzGkA2+jwnG4RgEzAOVGQFSqpzhv1+11cgPCYEOIVO52+kTBEJ4-G4zFKAF47owEdURMivF4gA
https://user-images.githubusercontent.com/3410759/70867563-10b3a780-1f77-11ea-8440-2769d5d158ab.png
https://user-images.githubusercontent.com/3410759/70867546-d8ac6480-1f76-11ea-931a-2e1f1dce4129.png
Rachel Macfarlane (RMacfarlane)https://github.com/RMacfarlane
Matt Bierner (mjbvz)https://github.com/mjbvz
on Dec 16, 2019https://github.com/microsoft/TypeScript/issues/35702#event-2886477647
Matt Bierner (mjbvz)https://github.com/mjbvz
microsoft/vscodehttps://github.com/microsoft/vscode
on Dec 16, 2019https://github.com/microsoft/TypeScript/issues/35702#event-2886675397
Matt Bierner (mjbvz)https://github.com/mjbvz
on Dec 16, 2019https://github.com/microsoft/TypeScript/issues/35702#event-2886675944
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
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 Dec 19, 2019https://github.com/microsoft/TypeScript/issues/35702#event-2899116086
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Andrew Branch (andrewbranch)https://github.com/andrewbranch
on Dec 19, 2019https://github.com/microsoft/TypeScript/issues/35702#event-2899116203
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 3.8.1https://github.com/microsoft/TypeScript/milestone/107
on Dec 19, 2019https://github.com/microsoft/TypeScript/issues/35702#event-2899116286
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Dec 19, 2019https://github.com/microsoft/TypeScript/issues/35702#issuecomment-567729273
Andrew Branch (@andrewbranch)https://github.com/andrewbranch
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Dec 19, 2019https://github.com/microsoft/TypeScript/issues/35702#event-2899118188
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
on Dec 20, 2019https://github.com/microsoft/TypeScript/issues/35702#issuecomment-567746108
#32100https://github.com/microsoft/TypeScript/pull/32100
#33937https://github.com/microsoft/TypeScript/pull/33937
#34855https://github.com/microsoft/TypeScript/pull/34855
#30507https://github.com/microsoft/TypeScript/issues/30507
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
Wesley Wigham (@weswigham)https://github.com/weswigham
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
https://github.com/simonhaenisch
Simon Hänisch (simonhaenisch)https://github.com/simonhaenisch
on Dec 20, 2019https://github.com/microsoft/TypeScript/issues/35702#issuecomment-567952880
Andrew Branch (andrewbranch)https://github.com/andrewbranch
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#36556https://github.com/microsoft/TypeScript/pull/36556
on Jan 31, 2020https://github.com/microsoft/TypeScript/issues/35702#event-2998845973
microsofthttps://github.com/microsoft
on Oct 21, 2025https://github.com/microsoft/TypeScript/issues/35702#event-20416848723
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/35702
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/35702
Andrew Branch (andrewbranch)https://github.com/andrewbranch
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
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
TypeScript 3.8.1https://github.com/microsoft/TypeScript/milestone/107
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.