cd0434aa76
* fix(39744): make template literals more spec compliant * Add evaluation test for template literals * Add test for template literals with source map
6 lines
257 B
TypeScript
6 lines
257 B
TypeScript
//// [templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpression.ts]
|
|
`${function (x: number) { x = "bad"; } }`;
|
|
|
|
//// [templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpression.js]
|
|
"".concat(function (x) { x = "bad"; });
|