Typescript Type Narrowing Error With Foreach Stack Overflow

Typescript Type Narrowing Error With Foreach Stack Overflow