7 lines
450 B
Text
7 lines
450 B
Text
|
tests/cases/conformance/es6/templates/templateStringInModulo.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/templateStringInModulo.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.
|