Typescript Get First From Array Value