unreachableFlowAfterThrowingForInOfHead2.ts(2,21): error TS2407: The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type 'never'.
unreachableFlowAfterThrowingForInOfHead2.ts(3,9): error TS7027: Unreachable code detected.


==== unreachableFlowAfterThrowingForInOfHead2.ts (2 errors) ====
    try {
        for (const x in (function () { throw "1"; })()) {
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2407: The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type 'never'.
            console.log("1");
            ~~~~~~~~~~~~~~~~~
!!! error TS7027: Unreachable code detected.
        }
    }
    catch (e) { }
    