TypeScript/tests/baselines/reference/templateStringWithEmbeddedFunctionExpression.types

9 lines
502 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedFunctionExpression.ts ===
var x = `abc${ function y() { return y; } }def`;
2015-04-13 23:01:57 +02:00
>x : string, Symbol(x, Decl(templateStringWithEmbeddedFunctionExpression.ts, 0, 3))
2015-04-13 21:36:11 +02:00
>`abc${ function y() { return y; } }def` : string
>function y() { return y; } : () => any
2015-04-13 23:01:57 +02:00
>y : () => any, Symbol(y, Decl(templateStringWithEmbeddedFunctionExpression.ts, 0, 14))
>y : () => any, Symbol(y, Decl(templateStringWithEmbeddedFunctionExpression.ts, 0, 14))