TypeScript/tests/baselines/reference/templateStringWithEmbeddedFunctionExpressionES6.types
2015-04-13 14:29:37 -07:00

9 lines
514 B
Plaintext

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