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 import the code using import 'arraync' in typescript, it permanently adds all async array function names to any array props resulting in the following when I try to iterate an array using a for...in-loop in js:
var a = [1,2,3]; for(var item in a) console.log(item);
results in:
This causes a lot of problems for me, because accessing elements using the index is always broken. Is there a quick fix for this without searching the whole transpiled code? ;)
The text was updated successfully, but these errors were encountered:
When I import the code using
import 'arraync'
in typescript, it permanently adds all async array function names to any array props resulting in the following when I try to iterate an array using a for...in-loop in js:var a = [1,2,3]; for(var item in a) console.log(item);
results in:
This causes a lot of problems for me, because accessing elements using the index is always broken. Is there a quick fix for this without searching the whole transpiled code? ;)
The text was updated successfully, but these errors were encountered: