René's URL Explorer Experiment


Title: feat: exclude declared variable when Object literal completions by chenjigeng · Pull Request #42056 · microsoft/TypeScript · GitHub

Open Graph Title: feat: exclude declared variable when Object literal completions by chenjigeng · Pull Request #42056 · microsoft/TypeScript

X Title: feat: exclude declared variable when Object literal completions by chenjigeng · Pull Request #42056 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - feat: exclude declared variable when Object literal completions by chenjigeng · Pull Request #42056 · microsoft/TypeScript

Open Graph Description: Fixes #41731

X Description: Fixes #41731

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

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:b62f9a90-df73-ddf4-84e4-64ab0592c8e3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBF7C:14EB6E:79899:9FE2C:6B018071
html-safe-nonce3e65917d1b67820d2a1d0e9f32f517a1620d6cb2e817a820eb92c5336c10352e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjdDOjE0RUI2RTo3OTg5OTo5RkUyQzo2QjAxODA3MSIsInZpc2l0b3JfaWQiOiIxNzAzNjU2MjUwNzExMDQ4MzA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6496b335659b498e3fb4419c3226b703d6d1fbfb73b202d6f084c54ed0a14e58
hovercard-subject-tagpull_request:543055637
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/42056/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/48ed448d630cd398bdab6b13d92f9c95fba988c49570775f6021b0a6f2c12ea2/microsoft/TypeScript/pull/42056
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/48ed448d630cd398bdab6b13d92f9c95fba988c49570775f6021b0a6f2c12ea2/microsoft/TypeScript/pull/42056
og:image:altFixes #41731
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechenjigeng
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/42056#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F42056
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%2F42056
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/42056
Reloadhttps://github.com/microsoft/TypeScript/pull/42056
Reloadhttps://github.com/microsoft/TypeScript/pull/42056
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)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
chenjg88 (chenjigeng)https://github.com/chenjigeng
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
chenjigeng:feat/exclude-completions-of-declared-variablehttps://github.com/chenjigeng/TypeScript/tree/feat/exclude-completions-of-declared-variable
Conversationhttps://github.com/microsoft/TypeScript/pull/42056
Commits8 (8)https://github.com/microsoft/TypeScript/pull/42056/commits
Checkshttps://github.com/microsoft/TypeScript/pull/42056/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/42056/files
feat: exclude declared variable when Object literal completionshttps://github.com/microsoft/TypeScript/pull/42056#top
chenjg88 (chenjigeng)https://github.com/chenjigeng
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
chenjigeng:feat/exclude-completions-of-declared-variablehttps://github.com/chenjigeng/TypeScript/tree/feat/exclude-completions-of-declared-variable
https://github.com/chenjigeng
chenjg88 (chenjigeng)https://github.com/chenjigeng
Dec 20, 2020https://github.com/microsoft/TypeScript/pull/42056#issue-771569877
#41731https://github.com/microsoft/TypeScript/issues/41731
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
https://github.com/chenjigeng
feat: exclude declared variable when Object literal completionshttps://github.com/microsoft/TypeScript/pull/42056/commits/1bcbd8fa9dff2a9b398b32a8d4dc8f6f5de8e27b
1bcbd8fhttps://github.com/microsoft/TypeScript/pull/42056/commits/1bcbd8fa9dff2a9b398b32a8d4dc8f6f5de8e27b
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
Dec 20, 2020https://github.com/microsoft/TypeScript/pull/42056#event-4133237093
https://github.com/chenjigeng
chenjg88 (chenjigeng)https://github.com/chenjigeng
Dec 20, 2020https://github.com/microsoft/TypeScript/pull/42056#event-4133286081
https://github.com/chenjigeng
feat: check undeclareVariable when completionhttps://github.com/microsoft/TypeScript/pull/42056/commits/505b1b63491bb737dc5a37f8f83d843f07d19f63
505b1b6https://github.com/microsoft/TypeScript/pull/42056/commits/505b1b63491bb737dc5a37f8f83d843f07d19f63
https://github.com/chenjigeng
chenjg88 (chenjigeng)https://github.com/chenjigeng
Dec 20, 2020https://github.com/microsoft/TypeScript/pull/42056#event-4133441596
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Dec 21, 2020 https://github.com/microsoft/TypeScript/pull/42056#pullrequestreview-556719783
View reviewed changes https://github.com/microsoft/TypeScript/pull/42056/files/505b1b63491bb737dc5a37f8f83d843f07d19f63
Andrew Branch (andrewbranch)https://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/42056#pullrequestreview-556719783
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
src/services/completions.tshttps://github.com/microsoft/TypeScript/pull/42056/files/505b1b63491bb737dc5a37f8f83d843f07d19f63#diff-4237fd08a5f920543e184b7748bc8ae000d9b1c031810ba375b0053362ec2b6a
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Dec 21, 2020https://github.com/microsoft/TypeScript/pull/42056#discussion_r546976441
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
chenjg88 (chenjigeng)https://github.com/chenjigeng
Dec 22, 2020https://github.com/microsoft/TypeScript/pull/42056#discussion_r547014743
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
https://github.com/chenjigeng
chenjg88 (chenjigeng)https://github.com/chenjigeng
Dec 22, 2020https://github.com/microsoft/TypeScript/pull/42056#issuecomment-749286017
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
https://github.com/chenjigeng
feat: add completion test casehttps://github.com/microsoft/TypeScript/pull/42056/commits/c8079a40c31103f309c4828dfe6b4e35eb9b7164
c8079a4https://github.com/microsoft/TypeScript/pull/42056/commits/c8079a40c31103f309c4828dfe6b4e35eb9b7164
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Dec 22, 2020https://github.com/microsoft/TypeScript/pull/42056#event-4141281200
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Dec 22, 2020https://github.com/microsoft/TypeScript/pull/42056#issuecomment-749704317
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Dec 22, 2020 https://github.com/microsoft/TypeScript/pull/42056#pullrequestreview-557281201
View reviewed changes https://github.com/microsoft/TypeScript/pull/42056/files/c8079a40c31103f309c4828dfe6b4e35eb9b7164
Andrew Branch (andrewbranch)https://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/42056#pullrequestreview-557281201
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
src/services/completions.tshttps://github.com/microsoft/TypeScript/pull/42056/files/c8079a40c31103f309c4828dfe6b4e35eb9b7164#diff-4237fd08a5f920543e184b7748bc8ae000d9b1c031810ba375b0053362ec2b6a
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
src/services/completions.tshttps://github.com/microsoft/TypeScript/pull/42056/files/c8079a40c31103f309c4828dfe6b4e35eb9b7164#diff-4237fd08a5f920543e184b7748bc8ae000d9b1c031810ba375b0053362ec2b6a
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
src/services/completions.tshttps://github.com/microsoft/TypeScript/pull/42056/files/c8079a40c31103f309c4828dfe6b4e35eb9b7164#diff-4237fd08a5f920543e184b7748bc8ae000d9b1c031810ba375b0053362ec2b6a
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
tests/cases/fourslash/completionListInObjectLiteral5.tshttps://github.com/microsoft/TypeScript/pull/42056/files/c8079a40c31103f309c4828dfe6b4e35eb9b7164#diff-2da10d3381e22c61a6ed9f327a9d49855d8b6e63f1417a0e72ee0dc1866d777e
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
chenjg88 (chenjigeng)https://github.com/chenjigeng
December 23, 2020 09:55https://github.com/microsoft/TypeScript/pull/42056#commits-pushed-7f2434d
https://github.com/chenjigeng
feat: code optimizationhttps://github.com/microsoft/TypeScript/pull/42056/commits/7f2434d35602bedee251c91d50ded9fb1c803ff1
7f2434dhttps://github.com/microsoft/TypeScript/pull/42056/commits/7f2434d35602bedee251c91d50ded9fb1c803ff1
https://github.com/chenjigeng
Merge branch 'master' ofhttps://github.com/microsoft/TypeScript/pull/42056/commits/cade2799943ce03174924ad2c5e0883c1188ff3d
https://github.com/microsoft/TypeScripthttps://github.com/microsoft/TypeScript
into…https://github.com/microsoft/TypeScript/pull/42056/commits/cade2799943ce03174924ad2c5e0883c1188ff3d
cade279https://github.com/microsoft/TypeScript/pull/42056/commits/cade2799943ce03174924ad2c5e0883c1188ff3d
https://github.com/chenjigeng
feat: support shorthand property assignmenthttps://github.com/microsoft/TypeScript/pull/42056/commits/fe0f9232516c9f134eb38912b264d4e206bb9618
fe0f923https://github.com/microsoft/TypeScript/pull/42056/commits/fe0f9232516c9f134eb38912b264d4e206bb9618
https://github.com/chenjigeng
feat: add shorthand property assignment test casehttps://github.com/microsoft/TypeScript/pull/42056/commits/71c0db9bda67ba0c71b5e5a5ebde5352347187c7
71c0db9https://github.com/microsoft/TypeScript/pull/42056/commits/71c0db9bda67ba0c71b5e5a5ebde5352347187c7
https://github.com/chenjigeng
feat: update completionPropertyShorthandForObjectLiteral test caseshttps://github.com/microsoft/TypeScript/pull/42056/commits/43a8234b5bce3d725d1a89e364e9e65bf2cca049
43a8234https://github.com/microsoft/TypeScript/pull/42056/commits/43a8234b5bce3d725d1a89e364e9e65bf2cca049
https://github.com/chenjigeng
chenjg88 (chenjigeng)https://github.com/chenjigeng
Dec 23, 2020https://github.com/microsoft/TypeScript/pull/42056#issuecomment-749904304
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
https://github.com/chenjigeng
chenjg88 (chenjigeng)https://github.com/chenjigeng
Dec 23, 2020https://github.com/microsoft/TypeScript/pull/42056#issuecomment-749994656
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
#42087https://github.com/microsoft/TypeScript/pull/42087
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Dec 23, 2020 https://github.com/microsoft/TypeScript/pull/42056#ref-pullrequest-773559712
Feat/exclude completions of variable initializers #42087 https://github.com/microsoft/TypeScript/pull/42087
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Dec 30, 2020https://github.com/microsoft/TypeScript/pull/42056#issuecomment-752745006
#42087https://github.com/microsoft/TypeScript/pull/42087
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Dec 30, 2020https://github.com/microsoft/TypeScript/pull/42056#event-4158262180
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/42056#event-20417356998
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%2F42056
https://github.com/andrewbranch
Andrew Branch (andrewbranch) https://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/42056/files/c8079a40c31103f309c4828dfe6b4e35eb9b7164
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
https://github.com/andrewbranch
Andrew Branch (andrewbranch) https://github.com/andrewbranch
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
Object literal completions in declaration initializer include declared variable https://github.com/microsoft/TypeScript/issues/41731
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42056
https://github.com/chenjigeng
https://github.com/andrewbranch
https://github.com/sandersn
https://github.com/typescript-bot
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.