René's URL Explorer Experiment


Title: TypeScript removing comments where it shouldn't · Issue #2546 · microsoft/TypeScript · GitHub

Open Graph Title: TypeScript removing comments where it shouldn't · Issue #2546 · microsoft/TypeScript

X Title: TypeScript removing comments where it shouldn't · Issue #2546 · microsoft/TypeScript

Description: comment.ts if (false) { //I will be removed } //I will be removed else { //I will not be removed var tmp; //I will be removed } try{ //I will not be removed var tmp; //I will be removed } //I will be removed catch(e){ //I will not be rem...

Open Graph Description: comment.ts if (false) { //I will be removed } //I will be removed else { //I will not be removed var tmp; //I will be removed } try{ //I will not be removed var tmp; //I will be removed } //I will ...

X Description: comment.ts if (false) { //I will be removed } //I will be removed else { //I will not be removed var tmp; //I will be removed } try{ //I will not be removed var tmp; //I will be removed } //I will ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeScript removing comments where it shouldn't","articleBody":"comment.ts\n\n```\nif (false) {\n    //I will be removed\n}\n//I will be removed\nelse {\n    //I will not be removed\n    var tmp;\n    //I will be removed\n}\n\ntry{\n    //I will not be removed\n    var tmp;\n    //I will be removed\n}\n//I will be removed\ncatch(e){\n    //I will not be removed\n    var tmp;\n    //I will be removed\n}\n```\n\ncomment.js\n\n```\nif (false) {\n}\nelse {\n    //I will not be removed\n    var tmp;\n}\ntry {\n    //I will not be removed\n    var tmp;\n}\ncatch (e) {\n    //I will not be removed\n    var tmp;\n}\n```\n\nAre there any additional flags that can be set for TS to keep _all_ comments?\n\n[Same issue from CodePlex](https://typescript.codeplex.com/workitem/2573)\n","author":{"url":"https://github.com/qyoz","@type":"Person","name":"qyoz"},"datePublished":"2015-03-30T08:14:35Z","url":"https://github.com/microsoft/TypeScript/issues/2546"}

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:d6ff76d9-70e9-207f-db60-53194dbb1762
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBB54:29AEE8:19651D1:21CEA2B:6B014F40
html-safe-noncedc28bdd65e382cddf2f352877f3daef6718e563a532faa6d61430c2d5fd63118
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjU0OjI5QUVFODoxOTY1MUQxOjIxQ0VBMkI6NkIwMTRGNDAiLCJ2aXNpdG9yX2lkIjoiNjc1NzY4MTI3NzM3MDk3ODExMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac97ed30be32368299ec73f944de3a9f2a398cc09237fde208316e3c6b1953e963
hovercard-subject-tagissue:65158101
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/2546/issue_layout
twitter:imagehttps://opengraph.githubassets.com/22d919a3dad8d654b82ce3e911c6ed68aa7e8ff5df3f5c75b94ac8d04561b2cf/microsoft/TypeScript/issues/2546
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/22d919a3dad8d654b82ce3e911c6ed68aa7e8ff5df3f5c75b94ac8d04561b2cf/microsoft/TypeScript/issues/2546
og:image:altcomment.ts if (false) { //I will be removed } //I will be removed else { //I will not be removed var tmp; //I will be removed } try{ //I will not be removed var tmp; //I will be removed } //I will ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameqyoz
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/2546#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F2546
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%2F2546
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/2546
Reloadhttps://github.com/microsoft/TypeScript/issues/2546
Reloadhttps://github.com/microsoft/TypeScript/issues/2546
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
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/2546
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/2546
#22141https://github.com/microsoft/TypeScript/pull/22141
TypeScript removing comments where it shouldn'thttps://github.com/microsoft/TypeScript/issues/2546#top
#22141https://github.com/microsoft/TypeScript/pull/22141
https://github.com/weswigham
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Domain: Comment EmitThe issue relates to the emission of comments when compilinghttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Comment%20Emit%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 2.8https://github.com/microsoft/TypeScript/milestone/61
https://github.com/qyoz
qyozhttps://github.com/qyoz
on Mar 30, 2015https://github.com/microsoft/TypeScript/issues/2546#issue-65158101
Same issue from CodePlexhttps://typescript.codeplex.com/workitem/2573
Nexthttps://github.com/microsoft/TypeScript/issues/2546?timeline_page=1
https://github.com/JoshMcCullough
Josh McCullough (JoshMcCullough)https://github.com/JoshMcCullough
on Mar 30, 2015https://github.com/microsoft/TypeScript/issues/2546#issuecomment-87741156
https://github.com/qyoz
qyozhttps://github.com/qyoz
on Mar 30, 2015https://github.com/microsoft/TypeScript/issues/2546#issuecomment-87744944
Josh McCullough (@JoshMcCullough)https://github.com/JoshMcCullough
https://github.com/JoshMcCullough
Josh McCullough (JoshMcCullough)https://github.com/JoshMcCullough
on Mar 30, 2015https://github.com/microsoft/TypeScript/issues/2546#issuecomment-87745285
https://github.com/qyoz
qyozhttps://github.com/qyoz
on Mar 30, 2015https://github.com/microsoft/TypeScript/issues/2546#issuecomment-87745677
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Mar 30, 2015https://github.com/microsoft/TypeScript/issues/2546#event-268693518
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
on Mar 30, 2015https://github.com/microsoft/TypeScript/issues/2546#event-268693567
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
TypeScript 1.8https://github.com/microsoft/TypeScript/milestone/15
on Oct 20, 2015https://github.com/microsoft/TypeScript/issues/2546#event-440580549
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 1.8https://github.com/microsoft/TypeScript/milestone/15
on Dec 1, 2015https://github.com/microsoft/TypeScript/issues/2546#event-478643220
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Accepting PRshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Accepting%20PRs%22
on Dec 8, 2015https://github.com/microsoft/TypeScript/issues/2546#event-486249723
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Dec 8, 2015https://github.com/microsoft/TypeScript/issues/2546#event-486249750
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Dec 8, 2015https://github.com/microsoft/TypeScript/issues/2546#issuecomment-163045222
André Staltz (staltz)https://github.com/staltz
on Feb 24, 2016https://github.com/microsoft/TypeScript/issues/2546#event-563441831
Fix bug: keep comments unless --removeCommentshttps://github.com/staltz/TypeScript/commit/aeec828c0a071a186e16b3e2ae5789205eb28dfc
aeec828https://github.com/staltz/TypeScript/commit/aeec828c0a071a186e16b3e2ae5789205eb28dfc
https://github.com/mchambaud
Michael Chambaud (mchambaud)https://github.com/mchambaud
on May 3, 2017https://github.com/microsoft/TypeScript/issues/2546#issuecomment-298996013
https://github.com/jimsugg
Jim Sugg (jimsugg)https://github.com/jimsugg
on May 4, 2017https://github.com/microsoft/TypeScript/issues/2546#issuecomment-299087701
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on May 4, 2017https://github.com/microsoft/TypeScript/issues/2546#issuecomment-299249836
https://github.com/jimsugg
Jim Sugg (jimsugg)https://github.com/jimsugg
on May 4, 2017https://github.com/microsoft/TypeScript/issues/2546#issuecomment-299273880
https://github.com/nickzelei
Nick Zelei (nickzelei)https://github.com/nickzelei
on Jun 6, 2017https://github.com/microsoft/TypeScript/issues/2546#issuecomment-306631048
https://github.com/ArtemGovorov
Artem Govorov (ArtemGovorov)https://github.com/ArtemGovorov
on Jul 4, 2017https://github.com/microsoft/TypeScript/issues/2546#issuecomment-312771427
https://github.com/gsdnano
Steve Webster (gsdnano)https://github.com/gsdnano
on Jul 5, 2017https://github.com/microsoft/TypeScript/issues/2546#issuecomment-313110220
Wesley Wigham (weswigham)https://github.com/weswigham
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#22141https://github.com/microsoft/TypeScript/pull/22141
on Mar 3, 2018https://github.com/microsoft/TypeScript/issues/2546#event-1502287998
Wesley Wigham (weswigham)https://github.com/weswigham
on Mar 3, 2018https://github.com/microsoft/TypeScript/issues/2546#event-1502289598
Wesley Wigham (weswigham)https://github.com/weswigham
TypeScript 2.8https://github.com/microsoft/TypeScript/milestone/61
on Mar 3, 2018https://github.com/microsoft/TypeScript/issues/2546#event-1502289609
Wesley Wigham (weswigham)https://github.com/weswigham
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
Domain: Comment EmitThe issue relates to the emission of comments when compilinghttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Comment%20Emit%22
help wantedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
on Mar 3, 2018https://github.com/microsoft/TypeScript/issues/2546#event-1502289723
microsofthttps://github.com/microsoft
on Jul 3, 2018https://github.com/microsoft/TypeScript/issues/2546#event-1712782647
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/2546
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/2546
Wesley Wigham (weswigham)https://github.com/weswigham
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Domain: Comment EmitThe issue relates to the emission of comments when compilinghttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Comment%20Emit%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 2.8https://github.com/microsoft/TypeScript/milestone/61
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.