ES6 generators/iterators and for..of

Topics: Code Checkins, Language Specification
Jan 25, 2013 at 3:54 PM

User @rbuckton sent a pull request for ES6 generators/iterators and a for..of implementation way back at the beginning of December (the 1st in fact) - has anyone noticed? I thought this might have gotten more attention. Is there something wrong with the implementation? The emitted javascript? Some dissonance with the roadmap?

Jan 25, 2013 at 4:38 PM

We're looking into supporting generators after 1.0 is release.  The focus on 1.0 is on getting the type system to where we can model the kinds of types and structures we see in popular JavaScript libraries.  We'll continue to grow TypeScript after 1.0 with features that make the language easier to use, and we'll also use that time to continue aligning with ES6 features (which will probably include features like generators/iterators).

Apr 7 at 4:06 AM
Can we revisit this now that 1.0 is out?