TypeScript/tests/baselines/reference/templateStringWithEmbeddedFunctionExpression.types

8 lines
493 B
Text

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedFunctionExpression.ts ===
var x = `abc${ function y() { return y; } }def`;
>x : string, Symbol(x,Decl(templateStringWithEmbeddedFunctionExpression.ts,0,3))
>`abc${ function y() { return y; } }def` : string
>function y() { return y; } : () => any
>y : () => any, Symbol(y,Decl(templateStringWithEmbeddedFunctionExpression.ts,0,14))
>y : () => any, Symbol(y,Decl(templateStringWithEmbeddedFunctionExpression.ts,0,14))