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