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