Typescript Get Value From Array