8 lines
223 B
Text
8 lines
223 B
Text
=== tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck5.ts ===
|
|
var union: string | number[];
|
|
>union : string | number[]
|
|
|
|
for (var v of union) { }
|
|
>v : string | number
|
|
>union : string | number[]
|
|
|