mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
30 lines
429 B
TypeScript
30 lines
429 B
TypeScript
//// [tests/cases/conformance/es6/templates/templateStringWithEmbeddedComments.ts] ////
|
|
|
|
//// [templateStringWithEmbeddedComments.ts]
|
|
`head${ // single line comment
|
|
10
|
|
}
|
|
middle${
|
|
/* Multi-
|
|
* line
|
|
* comment
|
|
*/
|
|
20
|
|
// closing comment
|
|
}
|
|
tail`;
|
|
|
|
//// [templateStringWithEmbeddedComments.js]
|
|
"use strict";
|
|
`head${ // single line comment
|
|
10}
|
|
middle${
|
|
/* Multi-
|
|
* line
|
|
* comment
|
|
*/
|
|
20
|
|
// closing comment
|
|
}
|
|
tail`;
|