-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for...of iterator fail with FormData.entries()
#13515
Comments
FormData.entries()
FormData.entries()
I didn't mean that this needed to be a new issue, in #3164 (comment) I think @mhegazy already explained why TypeScript isn't supporting it unless you are compiling to ES6, otherwise you can use TS -> Babel |
@hzoo did't see that :\ but it explains a lot! thanks |
This is no longer the case. #12346 |
Oh right 👍 forgot about that. |
I'm experiencing the same behavior, running in node 7. My work around was to wrap the |
@arciisine This feature has not yet landed for |
I am using the target es2015 and I had the same issue that the loop was not iterating. I had to add Edit: Running basic tests, |
@arciisine What's the error you're getting? There's no |
The error was wrt to iterating on |
Just ran across this issue with |
Should be fixed by #14859 in TS 2.3. if you are using |
Hello,
I was trying to iterate through the
FormData
values with the.entries()
function usingfor...of
iterator and it failed! I tried to do the same thing with other transpiler and it worked!TypeScript Version: 2.0.10
Browser Used: Chrome 55.0.2883.87, FireFox 50.1.0
Code
Expected behavior:
Nothing was printed in the console
Actual behavior:
The text was updated successfully, but these errors were encountered: