7 lines
253 B
TypeScript
7 lines
253 B
TypeScript
//// [templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpression.ts]
|
|
|
|
|
|
`${function (x: number) { x = "bad"; } }`;
|
|
|
|
//// [templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpression.js]
|
|
"" + function (x) { x = "bad"; };
|