You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use generators in my code while targeting es5, the following error appears: 'Generators are only available when targeting ECMAScript 2015 or higher.'
but tslib already provides a generator helper (it's used when converting async functions).
It would be nice if typescript was able to emit bare generators as well.
The text was updated successfully, but these errors were encountered:
TypeScript Version: 2.2.1
When I use generators in my code while targeting es5, the following error appears:
'Generators are only available when targeting ECMAScript 2015 or higher.'
but tslib already provides a generator helper (it's used when converting async functions).
It would be nice if typescript was able to emit bare generators as well.
The text was updated successfully, but these errors were encountered: