1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
//// [tests/cases/conformance/es6/templates/templateStringWithCommentsInArrowFunction.ts] ////
=== templateStringWithCommentsInArrowFunction.ts ===
const a = 1;
>a : Symbol(a, Decl(templateStringWithCommentsInArrowFunction.ts, 0, 5))
const f1 = () =>
>f1 : Symbol(f1, Decl(templateStringWithCommentsInArrowFunction.ts, 1, 5))
`${
// a
a
>a : Symbol(a, Decl(templateStringWithCommentsInArrowFunction.ts, 0, 5))
}a`;
const f2 = () =>
>f2 : Symbol(f2, Decl(templateStringWithCommentsInArrowFunction.ts, 7, 5))
`${
// a
a
>a : Symbol(a, Decl(templateStringWithCommentsInArrowFunction.ts, 0, 5))
}`;
|