7 lines
435 B
Text
7 lines
435 B
Text
|
tests/cases/conformance/es6/templates/templateStringInNewOperator.ts(1,9): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/es6/templates/templateStringInNewOperator.ts (1 errors) ====
|
||
|
var x = new `abc${ 1 }def`;
|
||
|
~~~~~~~~~~~~~~~~~~
|
||
|
!!! error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
|