Hello Evgeniy, I hope you are well.
I tend to use a lot of Array.forEach()
loops when I know it's a small list and need to inspect every index. So, there is no need to break
for example. (In that case, I'd use for i
or for in
.)
Here's my problem: when I'm using forEach()
on known types, the IntelliJ shows T
as the type. This issue does not occur with Array.filter()
.
Is there a way to fix this? It's not a huge problem, but I love the type of validation IntelliJ does with your plugin.
Note: This doesn't occur on all instances of forEach. Running it for fl.documents
works fine. Running it for fl.documents,getTimeline().layers
does not.