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
It's because es5 target in typescript's compiler didn't support iterators.
However, after doing some research, I see they actually have support for iterators in lower targets of ES, behind a flag: microsoft/TypeScript#12346
I just published a new version with a es5 target, and hopefully everything works :d. I have very little experience with Typescript, so please report any issues if you encounter them.
Also, core-js typings shouldn't be necessary anymore, so you can uninstall those if you installed them specifically for this project.
Activity
2Pacalypse- commentedon Jul 21, 2017
It's because
es5target in typescript's compiler didn't support iterators.However, after doing some research, I see they actually have support for iterators in lower targets of ES, behind a flag: microsoft/TypeScript#12346
I just published a new version with a
es5target, and hopefully everything works :d. I have very little experience with Typescript, so please report any issues if you encounter them.Also,
core-jstypings shouldn't be necessary anymore, so you can uninstall those if you installed them specifically for this project.