4 ms·
>Previously, TypeScript didn’t support compiling generators or working with iterators. I had no idea. That seems like a big deal, no?
by alistproducer2 10y ago
>Previously, TypeScript didn’t support compiling generators or working with iterators.
I had no idea. That seems like a big deal, no?
- scanr 10y agoIt didn't support transpiling generators to es5. Compiling to es6 would work and you could add babel to transpile down to es5 so in practice this wasn't much of a problem. Async iterators are very exciting and builds should be faster without babel in the pipeline.