@@ -37,10 +37,11 @@ Source code:
3737 styled.div\`this\\nis\\na/* ignore me \\n please */\\ntest\`
3838
3939 // removes line comments filling an entire line
40- // \`line one line two\`
41- styled.div\`line one
42- // remove this comment
43- line two\`
40+ // \`line one{line:two;}\`
41+ styled.div\`line one {
42+ // remove this comment
43+ line: two;
44+ }\`
4445
4546 // removes line comments at the end of lines of code
4647 // \`valid line with out comments\`
@@ -101,8 +102,8 @@ TypeScript before transform:
101102 // \`this is a test\`
102103 styled.div \`this\\nis\\na/* ignore me \\n please */\\ntest\`;
103104 // removes line comments filling an entire line
104- // \`line one line two\`
105- styled.div \`line one\\n// remove this comment\\nline two\`;
105+ // \`line one{ line: two;} \`
106+ styled.div \`line one { \\n // remove this comment\\n line: two;\\n} \`;
106107 // removes line comments at the end of lines of code
107108 // \`valid line with out comments\`
108109 styled.div \`valid line with // a comment\\nout comments\`;
@@ -153,8 +154,8 @@ TypeScript after transform:
153154 // \`this is a test\`
154155 styled.div \`this is a test\`;
155156 // removes line comments filling an entire line
156- // \`line one line two\`
157- styled.div \`line oneline two\`;
157+ // \`line one{ line: two;} \`
158+ styled.div \`line one{line: two;} \`;
158159 // removes line comments at the end of lines of code
159160 // \`valid line with out comments\`
160161 styled.div \`valid line without comments\`;
0 commit comments