type of array typescript 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
var myInstance:MyArrayType[] = [];
enum Color {
Red = "red",
Green = 2,
Blue = 4,
}
let c: Color = Color.Green;Try