I\'m wondering if there is a way to help the TS compiler by specifying a more specific variable type.
I\'m looping over an array of elements that can be anything.