Files
tsgo/testdata/baselines/reference/submodule/conformance/invalidSwitchBreakStatement.errors.txt

13 lines
351 B
Plaintext

invalidSwitchBreakStatement.ts(4,10): error TS2678: Type '5' is not comparable to type '12'.
==== invalidSwitchBreakStatement.ts (1 errors) ====
// break is not allowed in a switch statement
switch (12) {
case 5:
~
!!! error TS2678: Type '5' is not comparable to type '12'.
break;
}