Typescript Get First Value From Array To Arraylist