TypeScript-Handbook
TypeScript-Handbook copied to clipboard
Iterators & Generators Handbook Topic Doesn't Cover Generators
Courtesy of @bterlson
http://www.typescriptlang.org/docs/handbook/iterators-and-generators.html
This section doesn't mention generators at all. Should the section be renamed? Should the content expand to say something about generators? I'd say the latter.
we should also mention async generators as well as async iteration and the new --downlevelIteration
Worse than that - it would appear generators are not supported as they are not mentioned - despite being in the title!
Further confusion caused by http://kangax.github.io/compat-table/es6/#test-generators not having a column for TypeScript itself. The one it has for TS 1.8 says generators are not supported.
These are important language features - and it would be good to document any compatibility issues in the transpilation.