19 lines
No EOL
879 B
Text
19 lines
No EOL
879 B
Text
tests/cases/conformance/expressions/unaryOperators/voidOperator/voidOperatorInvalidOperations.ts(4,15): error TS1005: ',' expected.
|
|
tests/cases/conformance/expressions/unaryOperators/voidOperator/voidOperatorInvalidOperations.ts(4,20): error TS1109: Expression expected.
|
|
tests/cases/conformance/expressions/unaryOperators/voidOperator/voidOperatorInvalidOperations.ts(7,17): error TS1109: Expression expected.
|
|
|
|
|
|
==== tests/cases/conformance/expressions/unaryOperators/voidOperator/voidOperatorInvalidOperations.ts (3 errors) ====
|
|
// Unary operator void
|
|
|
|
// operand before void
|
|
var ANY = ANY void ; //expect error
|
|
~~~~
|
|
!!! error TS1005: ',' expected.
|
|
~
|
|
!!! error TS1109: Expression expected.
|
|
|
|
// miss an operand
|
|
var ANY1 = void ;
|
|
~
|
|
!!! error TS1109: Expression expected. |