Files
tsgo/testdata/baselines/reference/submodule/conformance/templateStringWithCommentsInArrowFunction.js

27 lines
425 B
TypeScript

//// [tests/cases/conformance/es6/templates/templateStringWithCommentsInArrowFunction.ts] ////
//// [templateStringWithCommentsInArrowFunction.ts]
const a = 1;
const f1 = () =>
`${
// a
a
}a`;
const f2 = () =>
`${
// a
a
}`;
//// [templateStringWithCommentsInArrowFunction.js]
"use strict";
const a = 1;
const f1 = () => `${
// a
a}a`;
const f2 = () => `${
// a
a}`;