Files
tsgo/testdata/baselines/reference/compiler/reachabilityChecks10.errors.txt

11 lines
285 B
Plaintext

reachabilityChecks10.ts(2,1): error TS7027: Unreachable code detected.
==== reachabilityChecks10.ts (1 errors) ====
throw new Error("")
console.log("1")
~~~~~~~~~~~~~~~~
console.log("2")
~~~~~~~~~~~~~~~~
!!! error TS7027: Unreachable code detected.