9 lines
366 B
Plaintext
9 lines
366 B
Plaintext
=== tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck4.ts ===
|
|
var union: string | string[];
|
|
>union : string | string[], Symbol(union, Decl(ES5For-ofTypeCheck4.ts, 0, 3))
|
|
|
|
for (const v of union) { }
|
|
>v : string, Symbol(v, Decl(ES5For-ofTypeCheck4.ts, 1, 10))
|
|
>union : string | string[], Symbol(union, Decl(ES5For-ofTypeCheck4.ts, 0, 3))
|
|
|