get string from array typescript code example Example: typescript array of strings type IArrayOfStrings = Array<string>