16 lines
690 B
Text
16 lines
690 B
Text
|
tests/cases/conformance/es6/templates/templateStringInObjectLiteral.ts(3,5): error TS1136: Property assignment expected.
|
||
|
tests/cases/conformance/es6/templates/templateStringInObjectLiteral.ts(3,8): error TS1005: ';' expected.
|
||
|
tests/cases/conformance/es6/templates/templateStringInObjectLiteral.ts(4,1): error TS1128: Declaration or statement expected.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/es6/templates/templateStringInObjectLiteral.ts (3 errors) ====
|
||
|
var x = {
|
||
|
a: `abc${ 123 }def`,
|
||
|
`b`: 321
|
||
|
~~~
|
||
|
!!! error TS1136: Property assignment expected.
|
||
|
~
|
||
|
!!! error TS1005: ';' expected.
|
||
|
}
|
||
|
~
|
||
|
!!! error TS1128: Declaration or statement expected.
|