2014-10-23 00:48:22 +02:00
|
|
|
=== tests/cases/conformance/es6/templates/templateStringInFunctionExpression.ts ===
|
|
|
|
var x = function y() {
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : () => string
|
2014-10-23 00:48:22 +02:00
|
|
|
>function y() { `abc${ 0 }def` return `abc${ 0 }def`;} : () => string
|
2015-04-16 01:44:20 +02:00
|
|
|
>y : () => string
|
2014-10-23 00:48:22 +02:00
|
|
|
|
|
|
|
`abc${ 0 }def`
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc${ 0 }def` : string
|
|
|
|
>0 : number
|
|
|
|
|
2014-10-23 00:48:22 +02:00
|
|
|
return `abc${ 0 }def`;
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc${ 0 }def` : string
|
|
|
|
>0 : number
|
|
|
|
|
2014-10-23 00:48:22 +02:00
|
|
|
};
|