How to foreach a typed list in Strict Unityscript

With this list in place:

List.<FPSChatEntry>();

The following for (foreach..) causes an error:

for (var entry : FPSChatEntry in
 chatEntries) {
 }

Error:

Cannot convert 'Object' to 'FPSPlayerNode'.

How can this be done in US/Javascript?

This works for me, in Unity 3.5

class CharacterMotionState {
    var name:String;
}

var motions : List.<CharacterMotionState> = new List.<CharacterMotionState>();

for (var motion:CharacterMotionState in this.motions) {
    // ...
}

I think there is some other error in your code. Your loop is looking for FPSChatEntry objects, but the error seems indicate that an FPSPlayerNode is needed. Have you strongly typed chatEntries?