Typescript build failed on this recent change due to Typescript config targeting es5 and not supporting interating on iterators in the .entries() case. A probably easier and safer option for now is just to switch this to a traditional index for loop, before moving the target up to es2015 (which is probably fine honestly, but for a small change this might be safer).
Typescript build failed on this recent change due to Typescript config targeting es5 and not supporting interating on iterators in the
.entries()
case. A probably easier and safer option for now is just to switch this to a traditional index for loop, before moving the target up to es2015 (which is probably fine honestly, but for a small change this might be safer).