mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
669 B
Plaintext
27 lines
669 B
Plaintext
//// [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))
|
|
|
|
}`;
|
|
|