TypeScript/tests/baselines/reference/binaryArithmatic4.errors.txt

6 lines
332 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/binaryArithmatic4.ts (2 errors) ====
var v = null | null;
~~~~
!!! The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
~~~~
!!! The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.