tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck7.ts(2,15): error TS2461: Type 'number' is not an array type.


==== tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck7.ts (1 errors) ====
    var union: string | number;
    for (var v of union) { }
                  ~~~~~
!!! error TS2461: Type 'number' is not an array type.