So, GDScript allows static typing, which means defining the type of a variable, a very useful feature for, among other things, completion and reference.
Problem is, it seems it cannot be used to define the type of elements in an array (arrays, like in Python, can contain any type of data) and because of that I can't enjoy the advantages of static typing when iterating through an array.
Is there anyway to do something like this
for i in range(len(someArray)):
var iterator:someType = someArray[i]
[...]
But instead as something like
for iterator:someType in someArray:
[...]