TypeScript doesn't allow generators

I want to implement an "action" system in the style of SpriteKit, and
that's a lot easier if I can use ES6's generators. Types aren't worth
giving up that feature.