mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
57d1aaf80f
swc_ecma_codegen: - Fix codegen of `\r\n` in template literals when targeting `es2020`. (denoland/deno#10282) swc_ecma_parser: - Support non-identifier getters in typescript. (#1708) swc_ecma_transforms_typescript: - Skip `export {}` if it was not a module. (#1706) - Skip `export {}` if the result is module without it. (#1706)
7 lines
152 B
JavaScript
7 lines
152 B
JavaScript
const content1 = `first line\r\nsecond line\r\nthird line`;
|
|
|
|
const content2 = `first line
|
|
second line
|
|
third line`;
|
|
|
|
console.log({ content1, content2 }); |