TypeScript/tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck14.ts

4 lines
No EOL
88 B
TypeScript

//@target: ES5
//@lib: ES6
var union: string | Set<number>
for (const e of union) { }