56027663bf
Currently type argument inference breaks hard when the first parameter of a tag has a generic type.
24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts(3,5): error TS1136: Property assignment expected.
|
|
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.
|
|
tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts(4,1): error TS1128: Declaration or statement expected.
|
|
tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts(1,9): error TS2349: Cannot invoke an expression whose type lacks a call signature.
|
|
|
|
|
|
==== tests/cases/conformance/es6/templates/templateStringInObjectLiteralES6.ts (5 errors) ====
|
|
var x = {
|
|
~
|
|
a: `abc${ 123 }def`,
|
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
`b`: 321
|
|
~~~
|
|
!!! error TS1136: Property assignment expected.
|
|
~
|
|
!!! error TS1005: ',' expected.
|
|
~~~
|
|
!!! error TS1134: Variable declaration expected.
|
|
~~~~~~~
|
|
!!! error TS2349: Cannot invoke an expression whose type lacks a call signature.
|
|
}
|
|
~
|
|
!!! error TS1128: Declaration or statement expected. |