type string array typescript code example
Example 1: typescript array of strings
type IArrayOfStrings = Array<string>
Example 2: array in typescript
const count = [...Array(5)];
count.map((_) => console.log('hi'));
type IArrayOfStrings = Array<string>
const count = [...Array(5)];
count.map((_) => console.log('hi'));