Typescript Object Array Get Last Item In Array