TypeScript/tests/baselines/reference/templateStringWithEmbeddedInstanceOfES6.errors.txt
2014-10-23 15:06:05 -07:00

7 lines
524 B
Plaintext

tests/cases/conformance/es6/templates/templateStringWithEmbeddedInstanceOfES6.ts(1,16): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.
==== tests/cases/conformance/es6/templates/templateStringWithEmbeddedInstanceOfES6.ts (1 errors) ====
var x = `abc${ "hello" instanceof String }def`;
~~~~~~~
!!! error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.