6 lines
357 B
Plaintext
6 lines
357 B
Plaintext
|
==== tests/cases/compiler/binaryArithmatic3.ts (2 errors) ====
|
||
|
var v = undefined | undefined;
|
||
|
~~~~~~~~~
|
||
|
!!! 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.
|