# Global interpretation of comments within tagged template literals

**URL:** <https://es.discourse.group/t/global-interpretation-of-comments-within-tagged-template-literals/1005>\
**Category:** 💡 Ideas\
**Tags:** proposal\
**Created:** [September 30, 2021, 2:53pm UTC](https://es.discourse.group/t/global-interpretation-of-comments-within-tagged-template-literals/1005 "2021-09-30T14:53:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lightmare](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/lightmare/32/843_2.png) [@lightmare](https://es.discourse.group/u/lightmare)\
**Post date:** [September 30, 2021, 3:52pm UTC](https://es.discourse.group/t/global-interpretation-of-comments-within-tagged-template-literals/1005/2 "2021-09-30T15:52:10Z")

</div>

Consider the implications of changing template literal parsing rules, for existing programs:

> <https://github.com/babel/babel/blob/89cab4311ce6dea0090d5819a721a1269765d6ec/scripts/generators/tsconfig.js#L34>

> <https://github.com/babel/babel/blob/89cab4311ce6dea0090d5819a721a1269765d6ec/packages/babel-generator/src/printer.ts#L651>

> <https://github.com/babel/babel/blob/89cab4311ce6dea0090d5819a721a1269765d6ec/packages/babel-types/scripts/generators/typescript-legacy.js#L131>

---

_[View the full topic](https://es.discourse.group/t/global-interpretation-of-comments-within-tagged-template-literals/1005)._
