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