typescript declare array of number code example
Example 1: typescript how to create an array instance
var myInstance:MyArrayType[] = [];
Example 2: typescript list
enum Color {
Red = "red",
Green = 2,
Blue = 4,
}
let c: Color = Color.Green;Try