2014-10-23 00:48:22 +02:00
tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts(3,5): error TS1136: Property assignment expected.
2014-10-24 01:32:43 +02:00
tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts(3,8): error TS1005: ',' expected.
tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts(3,10): error TS1134: Variable declaration expected.
2014-10-23 00:48:22 +02:00
tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts(4,1): error TS1128: Declaration or statement expected.
2014-11-05 00:05:05 +01:00
tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts(1,9): error TS2349: Cannot invoke an expression whose type lacks a call signature.
2014-10-23 00:48:22 +02:00
2014-11-05 00:05:05 +01:00
==== tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts (5 errors) ====
2014-10-23 00:48:22 +02:00
var x = {
2014-11-05 00:05:05 +01:00
~
2014-10-23 00:48:22 +02:00
a: `abc${ 123 }def`,
2014-11-05 00:05:05 +01:00
~~~~~~~~~~~~~~~~~~~~~~~~
2014-10-23 00:48:22 +02:00
`b`: 321
~~~
!!! error TS1136: Property assignment expected.
~
2014-10-24 01:32:43 +02:00
!!! error TS1005: ',' expected.
~~~
!!! error TS1134: Variable declaration expected.
2014-11-05 00:05:05 +01:00
~~~~~~~
!!! error TS2349: Cannot invoke an expression whose type lacks a call signature.
2014-10-23 00:48:22 +02:00
}
~
!!! error TS1128: Declaration or statement expected.