6 lines
258 B
TypeScript
6 lines
258 B
TypeScript
//// [templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpressionES6.ts]
|
|
|
|
`${function (x: number) { x = "bad"; } }`;
|
|
|
|
//// [templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpressionES6.js]
|
|
`${function (x) { x = "bad"; }}`;
|