TypeScript/tests/baselines/reference/ES5For-ofTypeCheck5.types

8 lines
363 B
Text

=== tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck5.ts ===
var union: string | number[];
>union : string | number[], Symbol(union,Decl(ES5For-ofTypeCheck5.ts,0,3))
for (var v of union) { }
>v : string | number, Symbol(v,Decl(ES5For-ofTypeCheck5.ts,1,8))
>union : string | number[], Symbol(union,Decl(ES5For-ofTypeCheck5.ts,0,3))