11 lines
286 B
Plaintext
11 lines
286 B
Plaintext
tests/cases/compiler/switchCases.ts(2,7): error TS2678: Type '1' is not comparable to type '0'.
|
|
|
|
|
|
==== tests/cases/compiler/switchCases.ts (1 errors) ====
|
|
switch(0) {
|
|
case 1:
|
|
~
|
|
!!! error TS2678: Type '1' is not comparable to type '0'.
|
|
break;
|
|
}
|
|
|