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