# tsc 7.0.2 --strict --noFallthroughCasesInSwitch: switch case fallthrough with --noFallthroughCasesInSwitch -> error TS7029: Fallthrough case in switch.

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-nofallthroughcasesinswitch-switch-case-fallthrough-with-nofallthroughcasesinswitch-d74f801d2820
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: typescript, tsc, ts7029

Ran tsc --strict --noFallthroughCasesInSwitch --noEmit on ts7029.ts containing: switch(1){case 1: console.log(1); case 2: break;} export {}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS7029: Fallthrough case in switch. | error TS2678: Type '2' is not comparable to type '1'.
