TypeScript/tests/baselines/reference/typeofOperatorInvalidOperations.errors.txt
2014-07-12 17:30:19 -07:00

14 lines
438 B
Plaintext

==== tests/cases/conformance/expressions/unaryOperators/typeofOperator/typeofOperatorInvalidOperations.ts (3 errors) ====
// Unary operator typeof
// opreand before typeof
var ANY = ANY typeof ; //expect error
~~~~~~
!!! ',' expected.
~
!!! Expression expected.
// miss an operand
var ANY1 = typeof ;
~
!!! Expression expected.