René's URL Explorer Experiment


Title: Trailing trivia dropped from open curly brace · Issue #6982 · microsoft/TypeScript · GitHub

Open Graph Title: Trailing trivia dropped from open curly brace · Issue #6982 · microsoft/TypeScript

X Title: Trailing trivia dropped from open curly brace · Issue #6982 · microsoft/TypeScript

Description: {/** foo */ // bar let x = 3; } The "foo" comment is dropped: http://www.typescriptlang.org/Playground#src={/** foo */ // bar let x = 3; } Inserting a newline before it preserves the comme...

Open Graph Description: {/** foo */ // bar let x = 3; } The "foo" comment is dropped: http://www.typescriptlang.org/Playground#src={/** foo */ // bar let x = 3; } Inserting...

X Description: {/** foo */ // bar let x = 3; } The "foo" comment is dropped: http://www.typescriptlang.org/Playground#src={/** foo */ // bar let x = 3; } ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Trailing trivia dropped from open curly brace","articleBody":"``` javascript\n{/** foo */\n  // bar\n  let x = 3;\n}\n```\n\nThe \"foo\" comment is dropped: http://www.typescriptlang.org/Playground#src=%7B%2F**%20foo%20*%2F%0A%20%20%2F%2F%20bar%0A%20%20let%20x%20%3D%203%3B%0A%7D%0A\n\nInserting a newline before it preserves the comment:\nhttp://www.typescriptlang.org/Playground#src=%7B%0A%09%2F**%20foo%20*%2F%0A%20%20%2F%2F%20bar%0A%20%20let%20x%20%3D%203%3B%0A%7D%0A\n\n``` javascript\nvar x = /** foo */ () => 12;\n```\n\nThe \"foo\" comment is dropped: \nhttp://www.typescriptlang.org/Playground#src=var%20x%20%3D%20%2F**%20foo%20*%2F%20()%20%3D%3E%2012%3B\n\nInserting a newline before the `/**` causes it to be emitted twice(!):\nhttp://www.typescriptlang.org/Playground#src=var%20x%20%3D%0A%2F**%20foo%20*%2F%20()%20%3D%3E%2012%3B\n","author":{"url":"https://github.com/evmar","@type":"Person","name":"evmar"},"datePublished":"2016-02-09T19:33:06Z","url":"https://github.com/microsoft/TypeScript/issues/6982"}

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:80d10f64-ec4a-52d7-0a0e-59cd540b537c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDFF8:2564D8:1BA1942:2471F5A:6B015149
html-safe-nonce4ce57d47f8e70190d45eb4ff652f83d71336cf009f33b7954012ebadc159d88b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkY4OjI1NjREODoxQkExOTQyOjI0NzFGNUE6NkIwMTUxNDkiLCJ2aXNpdG9yX2lkIjoiNTEwMzA4ODY3NzU1NTM2MDA3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac74baf56bc560121c82aa495e064492ee9877e940ea295dc8507d4191dc54a722
hovercard-subject-tagissue:132511143
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/6982/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4d221fdb36cd59d94029263d7ab6cadd769b75614dc8a3a944c483975e371322/microsoft/TypeScript/issues/6982
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4d221fdb36cd59d94029263d7ab6cadd769b75614dc8a3a944c483975e371322/microsoft/TypeScript/issues/6982
og:image:alt{/** foo */ // bar let x = 3; } The "foo" comment is dropped: http://www.typescriptlang.org/Playground#src={/** foo */ // bar let x = 3; } Inserting...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameevmar
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/6982#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F6982
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%2F6982
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/6982
Reloadhttps://github.com/microsoft/TypeScript/issues/6982
Reloadhttps://github.com/microsoft/TypeScript/issues/6982
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/6982
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/6982
Trailing trivia dropped from open curly bracehttps://github.com/microsoft/TypeScript/issues/6982#top
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Backloghttps://github.com/microsoft/TypeScript/milestone/29
https://github.com/evmar
Evan Martin (evmar)https://github.com/evmar
on Feb 9, 2016https://github.com/microsoft/TypeScript/issues/6982#issue-132511143
http://www.typescriptlang.org/Playground#src=%7B%2F**%20foo%20*%2F%0A%20%20%2F%2F%20bar%0A%20%20let%20x%20%3D%203%3B%0A%7D%0Ahttp://www.typescriptlang.org/Playground#src=%7B%2F**%20foo%20*%2F%0A%20%20%2F%2F%20bar%0A%20%20let%20x%20%3D%203%3B%0A%7D%0A
http://www.typescriptlang.org/Playground#src=%7B%0A%09%2F**%20foo%20*%2F%0A%20%20%2F%2F%20bar%0A%20%20let%20x%20%3D%203%3B%0A%7D%0Ahttp://www.typescriptlang.org/Playground#src=%7B%0A%09%2F**%20foo%20*%2F%0A%20%20%2F%2F%20bar%0A%20%20let%20x%20%3D%203%3B%0A%7D%0A
http://www.typescriptlang.org/Playground#src=var%20x%20%3D%20%2F**%20foo%20*%2F%20()%20%3D%3E%2012%3Bhttp://www.typescriptlang.org/Playground#src=var%20x%20%3D%20%2F**%20foo%20*%2F%20()%20%3D%3E%2012%3B
http://www.typescriptlang.org/Playground#src=var%20x%20%3D%0A%2F**%20foo%20*%2F%20()%20%3D%3E%2012%3Bhttp://www.typescriptlang.org/Playground#src=var%20x%20%3D%0A%2F**%20foo%20*%2F%20()%20%3D%3E%2012%3B
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Feb 18, 2016https://github.com/microsoft/TypeScript/issues/6982#event-555879837
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 18, 2016https://github.com/microsoft/TypeScript/issues/6982#event-555879863
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Accepting PRshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Accepting%20PRs%22
on Feb 18, 2016https://github.com/microsoft/TypeScript/issues/6982#event-555879895
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Feb 19, 2016https://github.com/microsoft/TypeScript/issues/6982#event-556009384
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Accepting PRshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Accepting%20PRs%22
Accepting PRshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Accepting%20PRs%22
on Feb 20, 2016https://github.com/microsoft/TypeScript/issues/6982#event-557412266
https://github.com/evmar
Evan Martin (evmar)https://github.com/evmar
on Feb 24, 2016https://github.com/microsoft/TypeScript/issues/6982#issuecomment-188415767
https://github.com/evmar
Evan Martin (evmar)https://github.com/evmar
on Feb 24, 2016https://github.com/microsoft/TypeScript/issues/6982#issuecomment-188424125
http://www.typescriptlang.org/Playground#src=%2F*%20trivia1%20*%2F%0D%0A%7B%2F*%20trivia2%20*%2F%0D%0A%20%201%3B%20%2F*%20trivia3%20*%2F%0D%0A%7D%2F*%20trivia4%20*%2F%0D%0A%0D%0Alet%20%2F*%20trivia5%20*%2F%20x%20%3D%0D%0A%2F*%20trivia6%20*%2F%0D%0A()%20%3D%3E%20%2F*%20trivia7%20*%2F%203%3B%0D%0Ahttp://www.typescriptlang.org/Playground#src=%2F*%20trivia1%20*%2F%0D%0A%7B%2F*%20trivia2%20*%2F%0D%0A%20%201%3B%20%2F*%20trivia3%20*%2F%0D%0A%7D%2F*%20trivia4%20*%2F%0D%0A%0D%0Alet%20%2F*%20trivia5%20*%2F%20x%20%3D%0D%0A%2F*%20trivia6%20*%2F%0D%0A()%20%3D%3E%20%2F*%20trivia7%20*%2F%203%3B%0D%0A
https://github.com/evmar
Evan Martin (evmar)https://github.com/evmar
on Feb 24, 2016https://github.com/microsoft/TypeScript/issues/6982#issuecomment-188468353
https://github.com/joeskeen
Joe Skeen (joeskeen)https://github.com/joeskeen
on Mar 10, 2016https://github.com/microsoft/TypeScript/issues/6982#issuecomment-195045296
Playground examplehttp://www.typescriptlang.org/Playground#src=var%20x%3B%20%2F%2F%20jshint%20ignore%3Aline%0Avar%20y%20%3D%20this.z%28%7B%20%2F%2F%20jshint%20ignore%3Aline%0A%09key%3A%20x%0A%7D%29%3B
Anton Tolmachev (AntonTolmachev)https://github.com/AntonTolmachev
on Apr 7, 2016https://github.com/microsoft/TypeScript/issues/6982#event-619164174
Partially fixes microsoft#6982 (double comments in arrow fuction).https://github.com/AntonTolmachev/TypeScript/commit/ebb191f7baa61122ce1c6242e3165310aef852b8
microsoft#6982https://github.com/microsoft/TypeScript/issues/6982
https://docs.github.com/articles/closing-issues-via-commit-messages
ebb191fhttps://github.com/AntonTolmachev/TypeScript/commit/ebb191f7baa61122ce1c6242e3165310aef852b8
Fix block comments (microsoft#2546, microsoft#6069, microsoft#6982)https://github.com/AntonTolmachev/TypeScript/commit/5945df518c444c262a851fb94858f9c9b56c4bdc
microsoft#2546https://github.com/microsoft/TypeScript/issues/2546
microsoft#6069https://github.com/microsoft/TypeScript/issues/6069
microsoft#6982https://github.com/microsoft/TypeScript/issues/6982
https://docs.github.com/articles/closing-issues-via-commit-messages
5945df5https://github.com/AntonTolmachev/TypeScript/commit/5945df518c444c262a851fb94858f9c9b56c4bdc
Fix block comments (microsoft#2546, microsoft#6069, microsoft#6982)https://github.com/AntonTolmachev/TypeScript/commit/7c663cf1092a2d3d61a9dfad1ce949c6f50486b0
microsoft#2546https://github.com/microsoft/TypeScript/issues/2546
microsoft#6069https://github.com/microsoft/TypeScript/issues/6069
microsoft#6982https://github.com/microsoft/TypeScript/issues/6982
https://docs.github.com/articles/closing-issues-via-commit-messages
7c663cfhttps://github.com/AntonTolmachev/TypeScript/commit/7c663cf1092a2d3d61a9dfad1ce949c6f50486b0
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Communityhttps://github.com/microsoft/TypeScript/milestone/2
Backloghttps://github.com/microsoft/TypeScript/milestone/29
on Mar 7, 2019https://github.com/microsoft/TypeScript/issues/6982#event-2188550617
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
on Aug 3, 2023https://github.com/microsoft/TypeScript/issues/6982#issuecomment-1663765891
Jake Bailey (@jakebailey)https://github.com/jakebailey
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Aug 3, 2023https://github.com/microsoft/TypeScript/issues/6982#issuecomment-1664318394
#7948https://github.com/microsoft/TypeScript/pull/7948
#22141https://github.com/microsoft/TypeScript/pull/22141
Jake Bailey (jakebailey)https://github.com/jakebailey
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 3, 2023https://github.com/microsoft/TypeScript/issues/6982#event-10001220516
microsofthttps://github.com/microsoft
on Oct 22, 2025https://github.com/microsoft/TypeScript/issues/6982#event-20419733482
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/6982
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/6982
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%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.