Array [] in Typescript
An array is another data type in TypeScript that allows us to store collections of values of the same type. We can define an array using square brackets []. However, it is also recommended to specify the type of elements that will be stored in the array instead of using any.