Typecast a Generic List in UnityScript

C#:

 List< Transform> listOfTransform = new List< Transform>;

How can I type cast in JS in the same way?

Cheers - C

That isn’t type casting, but anyway, you can do this:

var listOfTransform : List.<Transform> = new List.<Transform>();

or simply:

var listOfTransform = List.<Transform>();