7 lines
466 B
Text
7 lines
466 B
Text
|
tests/cases/conformance/es6/templates/templateStringInMultiplication.ts(1,13): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/es6/templates/templateStringInMultiplication.ts (1 errors) ====
|
||
|
var x = 1 * `abc${ 1 }def`;
|
||
|
~~~~~~~~~~~~~~
|
||
|
!!! error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
|