typescript string or array of strings code example
Example 1: typescript array of strings
type IArrayOfStrings = Array<string>
Example 2: typescript array
let list: number[] = [1, 2, 3];
type IArrayOfStrings = Array<string>
let list: number[] = [1, 2, 3];