René's URL Explorer Experiment


Title: Show unused public properties and methods · Issue #29293 · microsoft/TypeScript · GitHub

Open Graph Title: Show unused public properties and methods · Issue #29293 · microsoft/TypeScript

X Title: Show unused public properties and methods · Issue #29293 · microsoft/TypeScript

Description: It would be nice to have unused detection expanded, capable of detecting unused methods, exports, etc. Code Example Shape.js class Shape { constructor() { this.color = 'red'; } colorLog() { console.log(this.color); } } export default Sha...

Open Graph Description: It would be nice to have unused detection expanded, capable of detecting unused methods, exports, etc. Code Example Shape.js class Shape { constructor() { this.color = 'red'; } colorLog() { console...

X Description: It would be nice to have unused detection expanded, capable of detecting unused methods, exports, etc. Code Example Shape.js class Shape { constructor() { this.color = 'red'; } colorLog() {...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Show unused public properties and methods","articleBody":"It would be nice to have unused detection expanded, capable of detecting unused methods, exports, etc.\r\n\r\n**Code Example**\r\n\r\n_Shape.js_\r\n```javascript\r\nclass Shape {\r\n    constructor() {\r\n        this.color = 'red';\r\n    }\r\n\r\n    colorLog() {\r\n        console.log(this.color);\r\n    }\r\n}\r\n\r\nexport default Shape;\r\n```\r\n_Circle.js_\r\n```javascript\r\nimport Shape from \"./Shape\";\r\n\r\nclass Circle extends Shape {\r\n  constructor() {\r\n    super();\r\n\r\n    // FIXME: description should show as unused in VSCode, as it does in WebStorm.\r\n    this.description = 'A circle shape';\r\n  }\r\n\r\n  // FIXME: circleLog should show as unused in VSCode, as it does in WebStorm.\r\n  circleLog() {\r\n    // NOTE: both VSCode and WebStorm have detected an unused variable.\r\n    const num = 2;\r\n\r\n    // NOTE: colorLog is being used, so no unused code errors in Shape.js file.\r\n    super.colorLog();\r\n  }\r\n}\r\n\r\n// FIXME: export should show as unused in VSCode, as it does in WebStorm.\r\nexport default Circle;\r\n```\r\n\r\n**VSCode Screen**\r\n\r\n\u003cimg width=\"1440\" alt=\"screen shot 2019-01-04 at 9 23 48 pm\" src=\"https://user-images.githubusercontent.com/12591890/50719791-161a2980-1067-11e9-8b16-3f4e4fe6b531.png\">\r\n\r\n**WebStorm Screen**\r\n\r\n\u003cimg width=\"1440\" alt=\"screen shot 2019-01-04 at 9 23 07 pm\" src=\"https://user-images.githubusercontent.com/12591890/50719793-1ca8a100-1067-11e9-8c17-071746dd085f.png\">\r\n\r\n","author":{"url":"https://github.com/jabacchetta","@type":"Person","name":"jabacchetta"},"datePublished":"2019-01-05T03:24:30Z","url":"https://github.com/microsoft/TypeScript/issues/29293"}

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:627ee54b-cbbf-7ded-3950-1e72126f0216
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id91B0:4E3C:CC2AF5:10FB90F:6B00F7D7
html-safe-noncea9e6e3ffb447f15180a43778d7e6d0b8c1a80c35c89394699d4bb27689d3464c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUIwOjRFM0M6Q0MyQUY1OjEwRkI5MEY6NkIwMEY3RDciLCJ2aXNpdG9yX2lkIjoiMTc5MDg4NDgxNDk3MTg0MjE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5435f62ada6036a5bce090165c5126d9e53b18368ff161a795276aa3348738f4
hovercard-subject-tagissue:396627231
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/29293/issue_layout
twitter:imagehttps://opengraph.githubassets.com/60bd576664102de6970d630157b72f65a7339bb043d819593bdd8e1265a9138a/microsoft/TypeScript/issues/29293
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/60bd576664102de6970d630157b72f65a7339bb043d819593bdd8e1265a9138a/microsoft/TypeScript/issues/29293
og:image:altIt would be nice to have unused detection expanded, capable of detecting unused methods, exports, etc. Code Example Shape.js class Shape { constructor() { this.color = 'red'; } colorLog() { console...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejabacchetta
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
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
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/29293#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F29293
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%2F29293
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/29293
Reloadhttps://github.com/microsoft/TypeScript/issues/29293
Reloadhttps://github.com/microsoft/TypeScript/issues/29293
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests309 (309)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/29293
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29293
Show unused public properties and methodshttps://github.com/microsoft/TypeScript/issues/29293#top
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/jabacchetta
Jason Bacchetta (jabacchetta)https://github.com/jabacchetta
on Jan 5, 2019https://github.com/microsoft/TypeScript/issues/29293#issue-396627231
https://user-images.githubusercontent.com/12591890/50719791-161a2980-1067-11e9-8b16-3f4e4fe6b531.png
https://user-images.githubusercontent.com/12591890/50719793-1ca8a100-1067-11e9-8c17-071746dd085f.png
Nexthttps://github.com/microsoft/TypeScript/issues/29293?timeline_page=1
vscodebothttps://github.com/apps/vscodebot
Matt Bierner (mjbvz)https://github.com/mjbvz
on Jan 5, 2019https://github.com/microsoft/TypeScript/issues/29293#event-2055720044
Matt Bierner (mjbvz)https://github.com/mjbvz
microsoft/vscodehttps://github.com/microsoft/vscode
on Jan 7, 2019https://github.com/microsoft/TypeScript/issues/29293#event-2058502448
microsofthttps://github.com/microsoft
vscodebothttps://github.com/vscodebot
on Jan 7, 2019https://github.com/microsoft/TypeScript/issues/29293#event-2058502823
https://github.com/mjbvz
Matt Bierner (mjbvz)https://github.com/mjbvz
on Jan 7, 2019https://github.com/microsoft/TypeScript/issues/29293#issuecomment-452062467
Matt Bierner (mjbvz)https://github.com/mjbvz
on Jan 7, 2019https://github.com/microsoft/TypeScript/issues/29293#event-2058510623
Wesley Wigham (weswigham)https://github.com/weswigham
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
on Jan 8, 2019https://github.com/microsoft/TypeScript/issues/29293#event-2058944953
Matt Bierner (mjbvz)https://github.com/mjbvz
on Feb 20, 2019https://github.com/microsoft/TypeScript/issues/29293#event-2153422566
https://github.com/auchenberg
Kenneth Auchenberg (auchenberg)https://github.com/auchenberg
on Feb 23, 2019https://github.com/microsoft/TypeScript/issues/29293#issuecomment-466598082
https://dev.to/mokkapps/why-i-switched-from-visual-studio-code-to-jetbrains-webstorm-939https://dev.to/mokkapps/why-i-switched-from-visual-studio-code-to-jetbrains-webstorm-939
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Mar 1, 2019https://github.com/microsoft/TypeScript/issues/29293#issuecomment-468544999
https://github.com/fatihturgut
Fatih Turgut (fatihturgut)https://github.com/fatihturgut
on Sep 18, 2019https://github.com/microsoft/TypeScript/issues/29293#issuecomment-532558708
https://github.com/jp7837
jp7837https://github.com/jp7837
on Oct 16, 2019https://github.com/microsoft/TypeScript/issues/29293#issuecomment-542526883
https://github.com/alanhe421
Alan.He (alanhe421)https://github.com/alanhe421
on Mar 11, 2020https://github.com/microsoft/TypeScript/issues/29293#issuecomment-597715043
https://github.com/Bogidon
Bogdan Vitoc (Bogidon)https://github.com/Bogidon
on Mar 25, 2020https://github.com/microsoft/TypeScript/issues/29293#issuecomment-603631784
https://github.com/iulianraduat
Iulian Radu (iulianraduat)https://github.com/iulianraduat
on Mar 25, 2020https://github.com/microsoft/TypeScript/issues/29293#issuecomment-603700252
https://www.npmjs.com/package/ts-unused-exportshttps://www.npmjs.com/package/ts-unused-exports
https://github.com/Papooch
Ondřej Švanda (Papooch)https://github.com/Papooch
on May 14, 2024https://github.com/microsoft/TypeScript/issues/29293#issuecomment-2110028671
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on May 14, 2024https://github.com/microsoft/TypeScript/issues/29293#issuecomment-2110768939
https://github.com/sixtyfive
J. R. (sixtyfive)https://github.com/sixtyfive
on Jun 6, 2024https://github.com/microsoft/TypeScript/issues/29293#issuecomment-2152808104
https://github.com/dave0688
David Kreutzer (dave0688)https://github.com/dave0688
on Jun 6, 2024https://github.com/microsoft/TypeScript/issues/29293#issuecomment-2152824246
https://github.com/ShacharHarshuv
Shahar Har-Shuv (ShacharHarshuv)https://github.com/ShacharHarshuv
on Mar 10, 2025https://github.com/microsoft/TypeScript/issues/29293#issuecomment-2711455078
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Domenico Gemoli (aberonni)https://github.com/aberonni
on Mar 21, 2025https://github.com/microsoft/TypeScript/issues/29293#event-16932510738
chore: add knip to portalicioushttps://github.com/global-121/121-platform/commit/8325473999d53dda13c4e8a31538950035fe44ad
8325473https://github.com/global-121/121-platform/commit/8325473999d53dda13c4e8a31538950035fe44ad
chore: add knip to portalicioushttps://github.com/global-121/121-platform/commit/ff247db4c5e449c59444766bd15cb3e37e09139f
ff247dbhttps://github.com/global-121/121-platform/commit/ff247db4c5e449c59444766bd15cb3e37e09139f
https://github.com/webpro
Lars Kappert (webpro)https://github.com/webpro
on Mar 23, 2025https://github.com/microsoft/TypeScript/issues/29293#issuecomment-2746272969
Kniphttps://knip.dev
unused class membershttps://knip.dev/reference/issue-types
includeEntryExportshttps://knip.dev/reference/configuration#includeentryexports
production modehttps://knip.dev/features/production-mode
Unused exported type & interface membershttps://github.com/webpro-nl/knip/pull/910
examples in the provisional docshttps://feat-unused-exported-type-me.knip.pages.dev/guides/type-members
RubenGeohttps://github.com/RubenGeo
on Mar 24, 2025https://github.com/microsoft/TypeScript/issues/29293#event-16951341786
chore: add knip to portalicioushttps://github.com/global-121/121-platform/commit/0d3fb50fed97256670a862e5f1be5b12e6976406
0d3fb50https://github.com/global-121/121-platform/commit/0d3fb50fed97256670a862e5f1be5b12e6976406
Domenico Gemoli (aberonni)https://github.com/aberonni
on Mar 25, 2025https://github.com/microsoft/TypeScript/issues/29293#event-16969682164
chore: add knip to portalicioushttps://github.com/global-121/121-platform/commit/81ebdedc18f1ba020f958b8004fabfb2bd1540d1
81ebdedhttps://github.com/global-121/121-platform/commit/81ebdedc18f1ba020f958b8004fabfb2bd1540d1
chore: add knip to portalicioushttps://github.com/global-121/121-platform/commit/ba5ea2c35a4749eed258c5a3bd547944d687caa5
ba5ea2chttps://github.com/global-121/121-platform/commit/ba5ea2c35a4749eed258c5a3bd547944d687caa5
chore: add knip to portalicioushttps://github.com/global-121/121-platform/commit/87f7b2b53c84ec621c520a60f97782e3b4436449
87f7b2bhttps://github.com/global-121/121-platform/commit/87f7b2b53c84ec621c520a60f97782e3b4436449
chore: add knip to portalicioushttps://github.com/global-121/121-platform/commit/9fb7df484dac80b05694af30b8caabc7140616ce
9fb7df4https://github.com/global-121/121-platform/commit/9fb7df484dac80b05694af30b8caabc7140616ce
chore: check for dead code in portalicious with knip (#6638)https://github.com/global-121/121-platform/commit/af2534f14cbb63f9ecabd0b9a1b62ff6df6fd0f0
#6638https://github.com/global-121/121-platform/pull/6638
af2534fhttps://github.com/global-121/121-platform/commit/af2534f14cbb63f9ecabd0b9a1b62ff6df6fd0f0
https://github.com/triadzack
triadzackhttps://github.com/triadzack
on Jul 16, 2025https://github.com/microsoft/TypeScript/issues/29293#issuecomment-3079596847
herehttps://gist.github.com/triadzack/a147084c9f57b89987d09b2bd3bb0d89
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/29293
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29293
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
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.