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.
Is there any special case for using
"target": "es6",
attsconfig.json
?Because
lib/index.js
is shipped with ES6 and could not be used as is and should be recompiled to ES5.The text was updated successfully, but these errors were encountered: