Type Checking Query on Array Indexes

So just enabling the more strict Type checking and I am getting these warnings when the array is being accessed in the loop below:

"Cannot determine if container assignment is using container type."

var userFieldID = [0,0,0,0,0,0];

for (var i = 0; i <= 5; i++){

    userFieldID[i] = ....
    
}

Tried a few things to keep the compiler happy but I don't seem to be able to find an answer.  Anyone been there done that, that can help?