Get Last Object In Array Typescript Cheat