arraync
arraync copied to clipboard
import 'arraync' adds async function names to array properties
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? ;)