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

9 lines
300 B
TypeScript

//// [tests/cases/conformance/es6/templates/templateStringWithEmbeddedConditionalES6.ts] ////
//// [templateStringWithEmbeddedConditionalES6.ts]
var x = `abc${ true ? false : " " }def`;
//// [templateStringWithEmbeddedConditionalES6.js]
"use strict";
var x = `abc${true ? false : " "}def`;