-
```js
import styled from 'styled-components';
const Title = styled.h1`
// single-line comment
`;
```
Gives:
```
3:3 error Unknown word (CssSyntaxError)
```
style components [uses](ht…
-
I know this might be a long shot, but I was wondering if it was possible to detect the syntax inside the template literals automatically as CSS (or some other language)? So instead of relying on speci…
-
```js
log.info(`Listening at ${ansi.cyan(`http://localhost:${port}/app`)}`);
```
This snippet may be odd but it is valid JavaScript. Having a template literal inside the `${}` of another template …
-
```
// display all our groceries in a p tag, the last one will include all the one from the array **others**
->
It appears that the "**others**" part in the comment of the JavaScript source was jus…
-
## Problem
Most of the css is written within template literals, which is not minified in the build step at the moment.
This adds a lot of unnecessary whitespace and bytes, which can be reduced by …
-
Related to many template, template instantiation, and DOM parts discussions (but especially https://github.com/WICG/webcomponents/issues/777, https://github.com/WICG/webcomponents/issues/682, and http…
-
From [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates):
> For any particular tagged template literal expression, the tag function will alwa…
-
```
What steps will reproduce the problem?
1. Use template string literals (ES6)
2. Use single quote in the template string literals
var test = `won't fix`;
// =>(0130) Multi-line strings are not all…
-
Hi,
Thank you for this very helpful library. I identified a strange bug which affects template literals.
### Description
When I minify the following:
```
function renderReviewElement(result) {
…
-
Currently, if you create a variable of an interpolated string type using either `number`, `string` or `bigint` inside you'll get no suggestion for it:
![image](https://github.com/microsoft/…